PT-2026-23095 · Svgo · Svgo

Byamb4

·

Published

2026-03-04

·

Updated

2026-03-12

·

CVE-2026-29074

CVSS v3.1

7.5

High

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions SVGO versions 2.1.0 through 2.8.0 SVGO versions 3.0.0 through 3.3.2 SVGO versions prior to 4.0.1
Description SVGO is susceptible to a denial-of-service issue stemming from improper handling of XML custom entities. Specifically, the software does not adequately protect against entity expansion or recursion. A small, maliciously crafted XML file (approximately 811 bytes) can cause the application to stall or crash due to excessive memory consumption, resulting in a JavaScript heap out of memory error. The issue arises because SVGO utilizes an upstream XML parser that, by default, does not interpret custom XML entities. SVGO modifies the parser to support entities declared in the DOCTYPE, but this introduces the risk of exponential expansion when entities reference each other. This can be triggered when processing untrusted SVG input, potentially impacting server-side applications.
Recommendations SVGO versions 2.1.0 through 2.8.0: Upgrade to version 2.8.1 or later. SVGO versions 3.0.0 through 3.3.2: Upgrade to version 3.3.3 or later. SVGO versions prior to 4.0.1: Upgrade to version 4.0.1 or later.

Exploit

Fix

DoS

XML Entity Expansion

Weakness Enumeration

Related Identifiers

CVE-2026-29074
GHSA-XPQW-6GX7-V673
RHSA-2026:13512
RHSA-2026:6277
SUSE-SU-2026:2005-1
SUSE-SU-2026:2019-1

Affected Products

Svgo