Vulnerability 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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Jirafeau | Jirafeau | < 4.6.3 |
Related Weaknesses (CWE)
References
- https://gitlab.com/jirafeau/Jirafeau/-/commit/79464ec6276e8eb0e0b0ad597db02b8508Patch
- https://www.cve.org/CVERecord?id=CVE-2022-30110Third Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2024-12326Third Party Advisory
FAQ
What is CVE-2025-7066?
CVE-2025-7066 is a vulnerability with a CVSS score of 6.1 (MEDIUM). 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 ...
How severe is CVE-2025-7066?
CVE-2025-7066 has been rated MEDIUM with a CVSS base score of 6.1/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2025-7066?
Check the references section above for vendor advisories and patch information. Affected products include: Jirafeau Jirafeau.