PT-2026-20345 · Unknown · Fast-Xml-Parser

Byamb4

·

Published

2026-01-01

·

Updated

2026-05-22

·

CVE-2026-26278

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 fast-xml-parser versions prior to 5.3.6
Description The XML parser is susceptible to an unlimited amount of entity expansion. A small XML input can cause the parser to spend significant time processing a single request, leading to application freezing. The issue resides in the lack of limits on output size or execution cost within the entity replacement loop in OrderedObjParser.js (lines 439–458). Specifically, the replaceEntitiesValue() function repeatedly calls val.replace() without any checks, allowing for exponential expansion when referencing large entities multiple times. The entity registration check in DocTypeReader.js (lines 28–33) only prevents classic “Billion Laughs” payloads but not simpler variants using large text-based entities. This is a denial-of-service issue that can block the event loop in Node.js applications, rendering the server unresponsive. A payload of a few kilobytes can make a server unresponsive for several minutes.
Recommendations fast-xml-parser versions prior to 5.3.6 should be updated to version 5.3.6 or later. As a workaround, avoid using DOCTYPE parsing by setting the processEntities option to false.

Exploit

Fix

DoS

XML Entity Expansion

Weakness Enumeration

Related Identifiers

CLEANSTART-2026-CE10526
CLEANSTART-2026-DV49099
CLEANSTART-2026-GS57401
CLEANSTART-2026-NB51079
CLEANSTART-2026-OW14933
CLEANSTART-2026-SW34937
CVE-2026-26278
GHSA-JMR7-XGP7-CMFJ
OPENSUSE-SU-2026:10236-1

Affected Products

Fast-Xml-Parser