CVE-2025-7066

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

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.

Remediation

Solution:

  • Upgrade to version 4.6.3

Category

6.1
CVSS
Severity: Medium
CVSS 3.1 •
EPSS 0.03%
Affected: Jirafeau project Jirafeau
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2025-7066?
CVE-2025-7066 has been scored as a medium severity vulnerability.
How to fix CVE-2025-7066?
To fix CVE-2025-7066: Upgrade to version 4.6.3
Is CVE-2025-7066 being actively exploited in the wild?
As for now, there are no information to confirm that CVE-2025-7066 is being actively exploited. According to its EPSS score, there is a ~0% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2025-7066?
CVE-2025-7066 affects Jirafeau project Jirafeau.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.