CVE-2024-12326

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

Configuration 1 (hide)

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

History

05 Aug 2025, 17:49

Type Values Removed Values Added
Summary
  • (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 () https://gitlab.com/jirafeau/Jirafeau/-/commit/6cfca8753d54e2025c6020b2af32529e25f58c66 - () https://gitlab.com/jirafeau/Jirafeau/-/commit/6cfca8753d54e2025c6020b2af32529e25f58c66 - Patch
References () https://www.cve.org/CVERecord?id=CVE-2022-30110 - () https://www.cve.org/CVERecord?id=CVE-2022-30110 - Not Applicable
First Time Jirafeau jirafeau
Jirafeau
CPE cpe:2.3:a:jirafeau:jirafeau:*:*:*:*:*:*:*:*

06 Dec 2024, 21:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-12-06 21:15

Updated : 2025-08-05 17:49


NVD link : CVE-2024-12326

Mitre link : CVE-2024-12326

CVE.ORG link : CVE-2024-12326


JSON object : View

Products Affected

jirafeau

  • jirafeau
CWE
CWE-79

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