Skip to content

Cross-site Scripting in Jirafeau

Moderate severity GitHub Reviewed Published May 18, 2022 to the GitHub Advisory Database • Updated Jan 27, 2023

Package

composer mojo42/jirafeau (Composer)

Affected versions

< 4.4.0

Patched versions

4.4.0

Description

The file preview functionality in Jirafeau < 4.4.0, which is enabled by default, could be exploited for cross site scripting. An attacker could upload image/svg+xml files containing JavaScript. When someone visits the File Preview URL for this file, the JavaScript inside of this image/svg+xml file will be executed in the users' browser.

References

Published by the National Vulnerability Database May 17, 2022
Published to the GitHub Advisory Database May 18, 2022
Reviewed Jun 2, 2022
Last updated Jan 27, 2023

Severity

Moderate
6.1
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Weaknesses

CVE ID

CVE-2022-30110

GHSA ID

GHSA-j2xf-p274-g8cc
Checking history
See something to contribute? Suggest improvements for this vulnerability.