Cross-site Scripting in Jirafeau
Date: 2022-05
Affected: composer/mojo42/jirafeau
Attack vector: xss
Category: vulnerability-disclosure
Severity: Medium
CVE: CVE-2022-30110
CWE: CWE-79
CVSS: 6.1 (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N)

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.


Mitigations:

Architectural layers (MAESTRO):