NaturalIntelligence fast-xml-parser
fast-xml-parser has RangeError DoS Numeric Entities Bug
fast-xml-parser allows users to validate XML, parse XML to JS object, or build XML from JS object without C/C++ based libraries and no callback. In versions 5.0.9 through 5.3.3, a RangeError vulnerability exists in the numeric entity processing of fast-xml-parser when parsing XML with out-of-range entity code points (e.g., `�` or `�`). This causes the parser to throw an uncaught exception, crashing any application that processes untrusted XML input. Version 5.3.4 fixes the issue.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.5high · scored by CNA · CWE-20
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record, GitHub Security Advisories and the vendor's references.Affected
NaturalIntelligence fast-xml-parser
- >= 5.0.9, <= 5.3.3
fast-xml-parser (npm)
- >= 5.0.9, < 5.3.4
Fixed in 5.3.4
from GitHub Security Advisory GHSA-37qj-frw5-hhjh
Mitigation
Upgrade fast-xml-parser to 5.3.4 or later.
References
- Vendor advisory github.com/NaturalIntelligence/fast-xml-parser…
- Patch github.com/NaturalIntelligence/fast-xml-parser…
- Release notes github.com/NaturalIntelligence/fast-xml-parser…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.