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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:jirafeau:jirafeau:*:*:*:*:*:*:*:*

History

17 Jun 2026, 10:15

Type Values Removed Values Added
Summary
  • (es) Jirafeau normalmente impide la previsualización del navegador para archivos de texto debido a la posibilidad de que, por ejemplo, documentos SVG y HTML pudieran ser explotados para cross-site scripting. Esto se hacía almacenando el tipo MIME de un archivo y permitiendo solo la previsualización del navegador para tipos MIME que comienzan con 'image' (excepto para 'image/svg+xml', ver CVE-2022-30110, CVE-2024-12326 y CVE-2025-7066), video y audio. Sin embargo, era posible eludir esta comprobación enviando una solicitud HTTP manipulada con un tipo MIME inválido como 'image'. Al realizar la previsualización, el navegador intenta detectar automáticamente el tipo MIME, lo que resulta en la detección de SVG y posiblemente la ejecución de código JavaScript. Para evitar esto, el MIME sniffing está deshabilitado enviando la cabecera HTTP X-Content-Type-Options: nosniff.

12 Feb 2026, 20:43

Type Values Removed Values Added
First Time Jirafeau jirafeau
Jirafeau
CPE cpe:2.3:a:jirafeau:jirafeau:*:*:*:*:*:*:*:*
References () https://gitlab.com/jirafeau/Jirafeau/-/commit/747afb20bfcff14bb67e40e7035d47a6311ba3e1 - () https://gitlab.com/jirafeau/Jirafeau/-/commit/747afb20bfcff14bb67e40e7035d47a6311ba3e1 - Patch
References () https://www.cve.org/CVERecord?id=CVE-2022-30110 - () https://www.cve.org/CVERecord?id=CVE-2022-30110 - Not Applicable
References () https://www.cve.org/CVERecord?id=CVE-2024-12326 - () https://www.cve.org/CVERecord?id=CVE-2024-12326 - Not Applicable
References () https://www.cve.org/CVERecord?id=CVE-2025-7066 - () https://www.cve.org/CVERecord?id=CVE-2025-7066 - Not Applicable

28 Jan 2026, 07:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-01-28 07:16

Updated : 2026-06-17 10:15


NVD link : CVE-2026-1466

Mitre link : CVE-2026-1466

CVE.ORG link : CVE-2026-1466


JSON object : View

Products Affected

jirafeau

  • jirafeau
CWE
CWE-79

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