GitHub Advisory Database
GHSA-j2xf-p274-g8cc
Cross-site Scripting in Jirafeau
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Packagist | mojo42/jirafeau | All versions before 4.4.0 (fixed in 4.4.0) |