CVE-2024-12326
JSON

6.1medium

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

Severity
6.1medium CVSS:3.1 by GitLab
Exploit likelihood
0.26% (higher than 18% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitLab

Description

Jirafeau normally prevents browser preview for SVG files due to the possibility that manipulated SVG files could be exploited for cross site scripting. This was done by storing the MIME type of a file and preventing the browser preview for MIME type image/svg+xml. This issue was first reported in CVE-2022-30110. However, it was still possible to do a browser preview of a SVG file by sending a manipulated MIME type during the upload, where the case of any letter in image/svg+xml had been changed (like image/svg+XML). The check for image/svg+xml has been changed to be case insensitive.

Affected

Product or packageVersionsReported by
Jirafeau project Jirafeaufrom 4.5.0 before 4.6.1CVE List
jirafeau jirafeaubefore 4.6.1NVD

Classification

CWE-79

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

Jirafeau normally prevents browser preview for SVG files due to the possibility that manipulated SVG files could be exploited for cross site scripting. This was done by storing the MIME type of a file and preventing the browser preview for MIME type image/svg+xml. This issue was first reported in CVE-2022-30110. However, it was still possible to do a browser preview of a SVG file by sending a manipulated MIME type during the upload, where the case of any letter in image/svg+xml had been changed (like image/svg+XML). The check for image/svg+xml has been changed to be case insensitive.

NVD (es)

Jirafeau normalmente impide la vista previa del navegador para archivos SVG debido a la posibilidad de que los archivos SVG manipulados puedan ser explotados para cross site scripting. Esto se hacía almacenando el tipo MIME de un archivo y evitando la vista previa del navegador para el tipo MIME image/svg+xml. Este problema se informó por primera vez en CVE-2022-30110. Sin embargo, todavía era posible hacer una vista previa del navegador de un archivo SVG enviando un tipo MIME manipulado durante la carga, donde se había cambiado el caso de cualquier letra en image/svg+xml (como image/svg+XML). La verificación de image/svg+xml se ha modificado para que no distinga entre mayúsculas y minúsculas.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-12326 changed 2024-12-30CVE Terms of Use
NVDCVE-2024-12326 changed 2026-06-17Public domain