Skip to main content
CVE-2025-7066VulnerabilityPublished Updated

CVE-2025-7066: Jirafeau · Cross-site Scripting

Affects JirafeauSource CVE Database V5

0

Mentioned vulnerabilities

Not known to be exploited · CVSS 6.1 Medium.

Data as of 25 Oct 2026, 19:02 UTC

CVSS 3.1 base score
6.1Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.3% chance of exploitation in 30 days – higher than 23% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 4 Jul 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-25.

What to do

Affected software

ProductAffectedFixed in
GitHubjirafeau/jirafeaupkg:github/jirafeau/jirafeauOther threatsAffected
  • =0
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Organizations should ensure that their Jirafeau deployments are updated to the latest version where MIME type validation has been enhanced to reject MIME types containing commas, effectively blocking this bypass technique. If an official patch is not yet available, administrators should consider disabling the browser preview feature entirely or restricting file uploads and previews to trusted users only. Implementing Content Security Policy (CSP) headers can help mitigate the impact of XSS by restricting script execution sources. Additionally, user education on the risks of previewing untrusted files and monitoring web server logs for suspicious MIME type patterns can aid in early detection. Network-level protections such as web application firewalls (WAFs) can be tuned to detect and block requests with suspicious MIME type headers containing commas or multiple types. Regular security assessments and penetration testing of file sharing platforms should include tests for MIME type parsing vulnerabilities.

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.

References

Community reviews

Loading reviews…