CVE-2026-25128: fast-xml-parser has RangeError DoS Numeric Entities Bug
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.
References
- github.com/NaturalIntelligence/fast-xml-parser
- github.com/NaturalIntelligence/fast-xml-parser/commit/4e387f61c4a5cef792f6a2f42467013290bf95dc
- github.com/NaturalIntelligence/fast-xml-parser/releases/tag/v5.3.4
- github.com/NaturalIntelligence/fast-xml-parser/security/advisories/GHSA-37qj-frw5-hhjh
- github.com/advisories/GHSA-37qj-frw5-hhjh
- nvd.nist.gov/vuln/detail/CVE-2026-25128
Code Behaviors & Features
Detect and mitigate CVE-2026-25128 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →