What’s Vulnerable › Vulnerabilities
CVE-2025-7066: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in Jirafeau
- Severity: medium (CVSS 6.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-07-04 · updated 2026-06-17
- Weakness: CWE-79
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
- Jirafeau project Jirafeau: before 4.6.3 — fixed in 4.6.3
How to fix
Upgrade to a fixed version: Jirafeau project Jirafeau 4.6.3. Check the vendor advisory for mitigations.
References
- https://gitlab.com/jirafeau/Jirafeau/-/commit/79464ec6276e8eb0e0b0ad597db02b85080d2b63
- https://www.cve.org/CVERecord?id=CVE-2022-30110
- https://www.cve.org/CVERecord?id=CVE-2024-12326
Get alerted when CVE-2025-7066 or the next vulnerability affects your stack