Advisory

GHSA-vqqr-fgmh-f626

Also known as: CVE-2025-29790

Summary

Contao Vulnerable to Cross-Site Scripting (XSS) through SVG uploads

Details

Impact

Users can upload SVG files with malicious code, which is then executed in the back end and/or front end.

Patches

Update to Contao 4.13.54, 5.3.30 or 5.5.6.

Workarounds

Remove svg,svgz from the allowed upload file types in the system settings and from contao.editable_files in the config.yaml.

References

https://contao.org/en/security-advisories/cross-site-scripting-through-svg-uploads

For more information

If you have any questions or comments about this advisory, open an issue in contao/contao.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2025-03-18 21:07 UTC
Modified
2025-04-17 12:50 UTC

Affected packages and fixes

contao/core-bundle

Packagist · All systems

Affected

  • introduced 4.0.0, fixed 4.13.54 (ecosystem)

Fixed versions

4.13.54

Fix

The export has no generic command for this ecosystem.

contao/core-bundle

Packagist · All systems

Affected

  • introduced 5.3.0, fixed 5.3.30 (ecosystem)

Fixed versions

5.3.30

Fix

The export has no generic command for this ecosystem.

contao/core-bundle

Packagist · All systems

Affected

  • introduced 5.4.0, fixed 5.5.6 (ecosystem)

Fixed versions

5.5.6

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences