CVE-2025-7066
CVE-2025-7066 is a medium-severity vulnerability in Jirafeau with a CVSS 3.x base score of 6.1. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-79.
Key facts
- Severity: Medium (CVSS 3.x base score 6.1)
- EPSS exploit prediction: 0% (17th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2025-20016
- Weakness: CWE-79
- Affected product: Jirafeau
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2025-7066?
- 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.
- How severe is CVE-2025-7066?
- CVE-2025-7066 has a CVSS 3.x base score of 6.1, rated medium severity. It is exploitable over network with low attack complexity, requires no privileges and user interaction. Impact on confidentiality is low, integrity low, and availability none.
- Is CVE-2025-7066 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (17th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2025-7066?
- CVE-2025-7066 affects Jirafeau. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2025-7066?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- Does CVE-2025-7066 have an EU (EUVD) identifier?
- Yes. CVE-2025-7066 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2025-20016.
- When was CVE-2025-7066 published?
- CVE-2025-7066 was published on 2025-07-04 and last updated on 2026-06-17.
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
Affected products (1)
- cpe:2.3:a:jirafeau:jirafeau:*:*:*:*:*:*:*:*
More vulnerabilities in Jirafeau
- CVE-2018-11349 — High (CVSS 8.8): The administration panel of Jirafeau before 3.4.1 is vulnerable to three CSRF attacks on search functionalities:…
- CVE-2026-1466 — Medium (CVSS 6.1): Jirafeau normally prevents browser preview for text files due to the possibility that for example SVG and HTML…
- CVE-2024-12326 — Medium (CVSS 6.1): Jirafeau normally prevents browser preview for SVG files due to the possibility that manipulated SVG files could be…
- CVE-2022-30110 — Medium (CVSS 6.1): The file preview functionality in Jirafeau < 4.4.0, which is enabled by default, could be exploited for cross site…
- CVE-2018-11351 — Medium (CVSS 6.1): script.php in Jirafeau before 3.4.1 is affected by two stored Cross-Site Scripting (XSS) vulnerabilities. These are…
- CVE-2018-11350 — Medium (CVSS 6.1): An issue was discovered in Jirafeau before 3.4.1. The file "search by name" form is affected by one Cross-Site…
Other CWE-79 (Cross-site Scripting (XSS)) vulnerabilities
- CVE-2025-49410 — Critical (CVSS 10.0): Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Imran Emu TC…
- CVE-2024-47875 — Critical (CVSS 10.0): DOMPurify is a DOM-only, super-fast, uber-tolerant XSS sanitizer for HTML, MathML and SVG. DOMpurify was vulnerable to…
- CVE-2024-6886 — Critical (CVSS 10.0): Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting') vulnerability in Gitea…
- CVE-2023-45144 — Critical (CVSS 10.0): com.xwiki.identity-oauth:identity-oauth-ui is a package to aid in building identity and service providers based on…
- CVE-2023-45138 — Critical (CVSS 10.0): Change Request is an pplication allowing users to request changes on a wiki without publishing the changes directly.…
- CVE-2022-4361 — Critical (CVSS 10.0): Keycloak, an open-source identity and access management solution, has a cross-site scripting (XSS) vulnerability in the…
Browse all CWE-79 (Cross-site Scripting (XSS)) vulnerabilities →