Backdrop core - Moderately Critical - SVG Cross Site Scripting - BACKDROP-SA-CORE-2025-002
Backdrop CMS does not sufficiently validate uploaded SVG images to ensure they do not contain potentially dangerous SVG tags. SVG images can contain clickable links and executable scripting, and using a crafted SVG, it is possible to execute scripting in the browser when an SVG image is viewed.
This issue is mitigated by the attacker needing to be able to upload SVG images, and that Backdrop embeds all uploaded SVG images within <img>
tags, which prevents scripting from executing. The SVG must be viewed directly by its URL in order to run any embedded scripting.
A CVE has been requested, and this page will be updated as soon as an official number has been issued.
- Backdrop Core 1.29.x versions prior to 1.29.3
- Backdrop Core 1.28.x versions prior to 1.28.5
Backdrop versions 1.27 and prior do not receive security coverage.