fast-xml-parser allows users to process XML from JS object without C/C++ based libraries or callbacks.
fast-xml-parser allows users to process XML from JS object without C/C++ based libraries or callbacks. Prior to version 5.12.1, scanAttributeTokens in src/validator.js resets its cursor to one position after the token start when a leading-whitespace run ends in a stray equals sign. Each loop iteration rescans most of the remaining whitespace, producing quadratic processing time for attacker-controlled XML. The default path is reachable through XMLValidator.validate(xml) and through new XMLParser().parse(xml, true) when validation is enabled, allowing a document of a few hundred kilobytes to block the Node.js event loop for tens of seconds and deny service. This issue affects availability onl
Read at NIST National Vulnerability Database (CVE API 2.0)
- Vendor
- NaturalIntelligence
- Product
- fast-xml-parser
- CVSS v3.1
- 5.3 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- Exploitation
- SSVC poc, automatable yes, impact partial
- Fix
- available
- Weakness
- CWE-400, CWE-1333
- NVD status
- Deferred
Why it ranks 39 (Notable)
- Public exploit code reported
- CVSS v3.1 5.3 medium
- SSVC: automatable
- Fix available
- Recency: items published within 24 hours gain 15, within 72 hours 6, within 7 days 2.