XSS in Jirafeau
CVE-2026-1466
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, CVE-2024-12326 and CVE-2025-7066), video and audio. However, it was possible to bypass this check by sending a manipulated HTTP request with an invalid MIME type like image. When doing the preview, the browser tries to automatically detect the MIME type resulting in detecting SVG and possibly executing JavaScript code. To prevent this, MIME sniffing is disabled by sending the HTTP header X-Content-Type-Options: nosniff.
Vulnerability class: XSS (Cross-Site Scripting)
EPSS: 0.003 (20.9th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 6.1 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N.
Affected products
- Jirafeau
- Jirafeau Project — versions 0
Weakness classification (CWE)
References
- cve@gitlab.com (Patch)
- cve@gitlab.com (Not Applicable)
- cve@gitlab.com (Not Applicable)
- cve@gitlab.com (Not Applicable)
Frequently asked questions
- What is CVE-2026-1466?
- CVE-2026-1466 is a medium-severity vulnerability in Jirafeau, classified under Cross-site Scripting. CVSS score: 6.1/10. Published 2026-01-28.
- How severe is CVE-2026-1466?
- Medium severity. CVSS v3 base score is 6.1 out of 10.