CVE-2025-7066

Source
https://cve.org/CVERecord?id=CVE-2025-7066
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-7066.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-7066
Published
2025-07-04T12:02:34.287Z
Modified
2026-05-07T04:18:27.550260Z
Severity
  • 6.1 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
Summary
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in Jirafeau
Details

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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/7xxx/CVE-2025-7066.json",
    "cna_assigner": "GitLab",
    "cwe_ids": [
        "CWE-79"
    ]
}
References

Affected packages

Git / gitlab.com/jirafeau/jirafeau

Affected ranges

Type
GIT
Repo
https://gitlab.com/jirafeau/jirafeau
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

1.*
1.0
3.*
3.2.0
3.2.1
3.3.0
3.4.0
3.4.1
4.*
4.0.0
4.1.0
4.1.1
4.2.0
4.3.0
4.4.0
4.5.0
4.6.0
4.6.1
4.6.2

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-7066.json"