CVE-2025-7066

published 4 Jul 2025 · updated 16 Sep 2025

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in Jirafeau

6.1MediumCVSS 6.1EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 4.6.3.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Jirafeau project<4.6.34.6.3

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-7066 severity on Zeptric[![CVE-2025-7066](https://zeptric.io/badge/cve/CVE-2025-7066.svg)](https://zeptric.io/cve/CVE-2025-7066)