NIXPKGS-2026-0535
GitHub issue
published on 7 Mar 2026
by @mweinelt Activity log
- Created automatic suggestion
-
@mweinelt
removed
2 packages
- nodePackages.svgo
- nodePackages_latest.svgo
- @mweinelt accepted
- @mweinelt published on GitHub
SVGO: DoS through entity expansion in DOCTYPE (Billion Laughs)
SVGO, short for SVG Optimizer, is a Node.js library and command-line application for optimizing SVG files. From version 2.1.0 to before version 2.8.1, from version 3.0.0 to before version 3.3.3, and before version 4.0.1, SVGO accepts XML with custom entities, without guards against entity expansion or recursion. This can result in a small XML file (811 bytes) stalling the application and even crashing the Node.js process with JavaScript heap out of memory. This issue has been patched in versions 2.8.1, 3.3.3, and 4.0.1.
References
-
https://github.com/svg/svgo/security/advisories/GHSA-xpqw-6gx7-v673 x_refsource_CONFIRM
Affected products
svgo
- === 4.0.0
- ==>= 2.1.0, < 2.8.1
- ==>= 3.0.0, < 3.3.3
Matching in nixpkgs
Ignored packages (2)
pkgs.nodePackages.svgo
Nodejs-based tool for optimizing SVG vector graphics files
pkgs.nodePackages_latest.svgo
Nodejs-based tool for optimizing SVG vector graphics files