What's Changed
Security
- Backport the
removeScriptElementhardening from SVGO v4 in #2269:- reject executable
data:URLs and legacyvbscript:URLs - sanitize executable HTML inside
<foreignObject>elements - handle namespace-prefixed SVG anchors and URL schemes containing ASCII tabs or newlines
- reject executable
This addresses GHSA-4vpr-x523-8j87 and GHSA-w27v-7q3p-w38r for the v3 release line.
Support
SVGO v3 is not officially supported; please consider upgrading to SVGO v4. This security fix has been backported, but there is no commitment to backport more complex changes in the future.
See the migration guide from v3 to v4.