CVE-2024-12326: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in Jirafeau
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 Software
Remediation
Information
Event History
Frequently Asked Questions
What is the severity of CVE-2024-12326?
CVE-2024-12326 has a medium severity rating due to the potential for cross-site scripting vulnerabilities from manipulated SVG files.
How do I fix CVE-2024-12326?
To fix CVE-2024-12326, update Jirafeau to the latest version that addresses the MIME type preview controls for SVG files.
What does CVE-2024-12326 affect?
CVE-2024-12326 affects Jirafeau, particularly its handling of SVG file previews by browsers.
What is the risk associated with CVE-2024-12326?
The risk associated with CVE-2024-12326 is that an attacker could exploit manipulated SVG files to perform cross-site scripting attacks.
Is CVE-2024-12326 publicly known?
Yes, CVE-2024-12326 is a publicly disclosed vulnerability that's tracked in the CVE database.