Security mailing lists by PureSourceCode

CVE-2026-29074

HIGH 7.5CVSS 3.1

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.

Published
6 Mar 2026
Last modified
10 Sep 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-776
Also known as
GHSA-xpqw-6gx7-v673
Sources
NVDJSONOSV GHSA-xpqw-6gx7-v673JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD 0b0ca135-0b70-47e7-9f44-1890c2a1c46c (Secondary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
OSV GitHub CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD svgo svgo
cpe:2.3:a:svgo:svgo:*:*:*:*:*:node.js:*:*
>= 2.1.0, < 2.8.1 2.8.1
NVD svgo svgo
cpe:2.3:a:svgo:svgo:*:*:*:*:*:node.js:*:*
>= 3.0.0, < 3.3.3 3.3.3
NVD svgo svgo
cpe:2.3:a:svgo:svgo:*:*:*:*:*:node.js:*:*
>= 4.0.0, < 4.0.1 4.0.1
OSV npm svgo >= 2.1.0, < 2.8.1 2.8.1
OSV npm svgo >= 3.0.0, < 3.3.3 3.3.3
OSV npm svgo >= 4.0.0, < 4.0.1 4.0.1

References

History

  • 25 Nov 2026 21:01 UTC · NVD: first stored (published 6 Mar 2026)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 4 Mar 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.