Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in Jirafeau
Published Jul 4, 2025
6.1
MEDIUMCVSS 3.1
EPSS 0.31%
Description
Jirafeau normally prevents browser preview for text files due to the possibility that for example SVG and HTML documents could be exploited for cross site scripting. This was done by storing the MIME type of a file and allowing only browser preview for MIME types beginning with image (except for image/svg+xml, see CVE-2022-30110 and CVE-2024-12326), video and audio. However, it was possible to bypass this check by sending a manipulated MIME type containing a comma and an other MIME type like text/html (for example image/png,text/html). Browsers see multiple MIME types and text/html would takes precedence, allowing a possible attacker to do a cross-site scripting attack. The check for MIME types was enhanced to prevent a browser preview when the stored MIME type contains a comma.
Affected products
-
- Version 0StatusaffectedConstraints<4.6.3
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| Jirafeau project | Jirafeau | unaffected |
|
No data.
No Red Hat product state for this CVE.
No package ranges for this CVE.
Remediation
Vendor solution
Upgrade to version 4.6.3
References (4)
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2025-20016 Advisory
- https://gitlab.com/jirafeau/Jirafeau/-/commit/79464ec6276e8eb0e0b0ad597db02b85080d2b63 Patch
- https://www.cve.org/CVERecord?id=CVE-2022-30110 Third Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2024-12326 Third Party Advisory
| Link | Providers | Tags |
|---|---|---|
| https://euvd.enisa.europa.eu/vulnerability/EUVD-2025-20016 | Advisory | |
| https://gitlab.com/jirafeau/Jirafeau/-/commit/79464ec6276e8eb0e0b0ad597db02b85080d2b63 | Patch | |
| https://www.cve.org/CVERecord?id=CVE-2022-30110 | Third Party Advisory | |
| https://www.cve.org/CVERecord?id=CVE-2024-12326 | Third Party Advisory |
Change history (0)
No recorded changes yet.