Skip to main content

Svgo CVE-2026-29074

HIGH
Improper Restriction of Recursive Entity References in DTDs (CWE-776)
2026-03-06 security-advisories@github.com GHSA-xpqw-6gx7-v673
7.5
CVSS 3.1 · Vendor: github
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft malicious SVG with recursive XML entities
  2. Delivery
    Submit to SVGO parser
  3. Exploit
    Trigger exponential entity expansion
  4. Execution
    Exhaust heap memory
  5. Impact
    Crash Node.js process

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A02:2025 - Security Misconfiguration
ASVS 5.0
V13 - Configuration XML entity recursion limits
Exploitation Conditions

SVGO versions 2.1.0–2.8.0, 3.0.0–3.3.2, or 4.0.0 processing untrusted SVG files without entity expansion validation disabled. No authentication required.

Impact

CVSS 7.5 (HIGH). Attack vector: Network. Complexity: Low. Privileges required: None. User interaction: None. Public exploit/POC available.

Exploit ScenarioDerived

An attacker could exploit this vulnerability to a small XML file (811 bytes) stalling the application and even crashing the Node.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Mar 12, 2026

Denial of service in SVGO versions 2.1.0-2.8.0, 3.0.0-3.3.2, and before 4.0.1 allows unauthenticated attackers to crash the Node.js process through XML entity expansion attacks, with a minimal 811-byte payload triggering heap exhaustion. Public exploit code exists for this vulnerability, and no patch is currently available. Affected users of SVGO, Node.js, and Golang implementations should restrict input sources until updates are released.

Earlier versions of this analysis (1)
v1 Mar 12, 2026 - 22:06 CVSS 7.5

Svgo versions up to 2.8.1 is affected by improper restriction of recursive entity references in dtds (CVSS 7.5).

RemediationAI

Monitor vendor advisories for a patch. Restrict network access to the affected service where possible.

Affected Packages

npm svgo fix: 2.8.1, 3.3.3, 4.0.1

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in npm

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

This vulnerability (CWE-776: Improper Restriction of Recursive Entity References in DTDs) affects Svgo. 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

Know when Svgo gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (github) PRIMARY 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
SUSE HIGH
Red Hat 7.5 HIGH

Primary rating from Vendor (github).

CVSS VectorVendor: github

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

3
Patch released
Mar 31, 2026 - 21:13 nvd
Patch available
PoC Detected
Mar 10, 2026 - 19:02 vuln.today
Public exploit code
CVE Published
Mar 06, 2026 - 08:16 nvd
HIGH 7.5

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

SVGO, a widely-used SVG optimization library, contains a denial-of-service vulnerability that allows attackers to crash applications and services using maliciously crafted SVG files. Organizations using SVGO in their development pipelines, web applications, or file processing services face risk of service disruption and potential data loss if affected systems are not immediately addressed.

Business Impact: High
Compensating Controls

Implement strict input validation rejecting SVG files exceeding size thresholds (e.g., >1MB); configure aggressive request timeouts (5-10 seconds maximum) for SVG processing; apply WAF rules blocking XML entity declarations in file uploads; disable SVG optimization features if non-critical; implement rate limiting on file upload endpoints; segment SVG processing to isolated containers with memory/CPU limits; monitor Node.js process memory usage with automated alerting and restart mechanisms.

Threat Intelligence Overview

EPSS Score
0.1%
Top 83% exploitable
Exploit
POC
Public exploit code exists
Data Quality
6 sources
Confidence: High
NVD CVE.org EPSS Vendor GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC Yes
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Out-of-Cycle
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

58
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

Affected Products (CPE)CVE.org

cpe:2.3:a:svgo:svgo:*:*:*:*:*:node.js:*:*
cpe:2.3:a:svgo:svgo:*:*:*:*:*:node.js:*:*
cpe:2.3:a:svgo:svgo:*:*:*:*:*:node.js:*:*

Vendor StatusVendor

SUSE

Severity: High
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Fixed
SUSE Linux Enterprise High Performance Computing 15 SP7 Fixed
SUSE Linux Enterprise Micro 5.2 Fixed
SUSE Linux Enterprise Micro 5.2 Fixed
SUSE Linux Enterprise Micro 5.2 Fixed

References

Advisories & patches
ADVISORY https://access.redhat.com/errata/RHSA-2026:5807 ADVISORY https://access.redhat.com/errata/RHSA-2026:6277 ADVISORY https://access.redhat.com/errata/RHSA-2026:6309 ADVISORY https://access.redhat.com/errata/RHSA-2026:6404 ADVISORY https://access.redhat.com/errata/RHSA-2026:6568 ADVISORY https://access.redhat.com/errata/RHSA-2026:6926 ADVISORY https://access.redhat.com/errata/RHSA-2026:7110 ADVISORY https://access.redhat.com/errata/RHSA-2026:8483 ADVISORY https://access.redhat.com/errata/RHSA-2026:8484 ADVISORY https://access.redhat.com/errata/RHSA-2026:8490 ADVISORY https://access.redhat.com/errata/RHSA-2026:8491 ADVISORY https://access.redhat.com/errata/RHSA-2026:8493 ADVISORY https://vuldb.com/?id.349427 REF https://access.redhat.com/errata/RHSA-2026:11856 REF https://access.redhat.com/errata/RHSA-2026:11916 REF https://access.redhat.com/errata/RHSA-2026:13512 REF https://access.redhat.com/errata/RHSA-2026:13545 REF https://access.redhat.com/errata/RHSA-2026:13553 REF https://access.redhat.com/errata/RHSA-2026:13826 REF https://access.redhat.com/errata/RHSA-2026:19375 REF https://access.redhat.com/errata/RHSA-2026:19712 REF https://access.redhat.com/errata/RHSA-2026:21017 REF https://access.redhat.com/errata/RHSA-2026:21772 REF https://access.redhat.com/errata/RHSA-2026:22465 REF https://access.redhat.com/errata/RHSA-2026:24977 REF https://access.redhat.com/errata/RHSA-2026:48085 REF https://access.redhat.com/errata/RHSA-2026:9742 REF https://access.redhat.com/security/cve/CVE-2026-29074 REF https://bugzilla.redhat.com/show_bug.cgi?id=2445132 REF https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-29074.json

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy