svgo
4.1.0 · 24 Aug 2026MIT52.3M / weekRepositoryHomepagenpmAtom feed
Upgrading svgo From 2.8.3 to 2.8.4
1 release in betweenevery note read
Reading releases, release notes and advisories…
Start here
Before you upgrade
Tick each one off as you go- Breaking2.8.4
Security
Fixes 2 advisories affecting 2.8.3
- SVGO: removeScripts incompletely sanitizes executable HTML in SVG foreignObject elementsmoderate · GHSA-4vpr-x523-8j87
- SVGO: removeScripts allows executable links through namespace and control-character bypasseshigh · GHSA-w27v-7q3p-w38r
- 2.8.4
This addresses GHSA-4vpr-x523-8j87 and GHSA-w27v-7q3p-w38r for the v2 release line.
- 2.8.4
This security fix has been backported, but there is no commitment to backport more complex changes in the future.
Release by release
- Security
This addresses GHSA-4vpr-x523-8j87 and GHSA-w27v-7q3p-w38r for the v2 release line.
- Security
This security fix has been backported, but there is no commitment to backport more complex changes in the future.
- Breaking
Remove known SVG event attributes
- Fixed
Handle namespace-prefixed SVG anchors and URL schemes containing ASCII tabs or newlines
- Security
2 other lines we could not sort, mostly version bumps
- 2.8.4
Reject executable
data:URLs and legacyvbscript:URLs - 2.8.4
Sanitize executable HTML inside
<foreignObject>elements
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.