Naturalintelligence Fast-Xml-Parser vulnerabilities
10 known vulnerabilities affecting naturalintelligence/fast-xml-parser.
Total CVEs
10
CISA KEV
0
Public exploits
0
Exploited in wild
0
Severity breakdown
CRITICAL1HIGH6MEDIUM3
Vulnerabilities
Page 1 of 1
CVE-2026-25896P3CRITICALCVSS 9.3≥ 4.1.3, < 5.3.5v>= 5.0.0, < 5.3.5+1 more2026-02-20
CVE-2026-25896 [CRITICAL] CWE-185 CVE-2026-25896: fast-xml-parser allows users to validate XML, parse XML to JS object, or build XML from JS object wi
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. From 4.1.3to before 5.3.5, a dot (.) in a DOCTYPE entity name is treated as a regex wildcard during entity replacement, allowing an attacker to shadow built-in XML entities ( , &, ", ') with arbitrary val
ghsanvdosv
CVE-2026-26278P3HIGHCVSS 7.5≥ 4.1.3, < 5.3.6v>= 4.0.0-beta.3, < 5.5.62026-02-19
CVE-2026-26278 [HIGH] CWE-776 CVE-2026-26278: fast-xml-parser allows users to validate XML, parse XML to JS object, or build XML from JS object wi
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 4.1.3 through 5.3.5, the XML parser can be forced to do an unlimited amount of entity expansion. With a very small XML input, it’s possible to make the parser spend seconds or even minutes process
ghsanvdosv
CVE-2026-25128P3HIGHCVSS 7.5≥ 5.0.9, < 5.3.4v>= 5.0.9, <= 5.3.32026-01-30
CVE-2026-25128 [HIGH] CWE-20 CVE-2026-25128: fast-xml-parser allows users to validate XML, parse XML to JS object, or build XML from JS object wi
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
ghsanvdosv
CVE-2026-33036P3HIGHCVSS 7.5≥ 4.0.1, < 5.5.6v4.0.02026-03-20
CVE-2026-33036 [HIGH] CVE-2026-33036: fast-xml-parser allows users to process XML from JS object without C/C++ based libraries or callback
fast-xml-parser allows users to process XML from JS object without C/C++ based libraries or callbacks. Versions 4.0.0-beta.3 through 5.5.5 contain a bypass vulnerability where numeric character references (&#NNN;, &#xHH;) and standard XML entities completely evade the entity expansion limits (e.g., maxTotalExpansions, maxExpandedLength) added to fix CVE-2026-
ghsanvdosv
CVE-2026-27942P3HIGHCVSS 7.5fixed in 4.5.4≥ 5.0.0, < 5.3.8+1 more2026-02-26
CVE-2026-27942 [HIGH] CWE-120 CVE-2026-27942: fast-xml-parser allows users to validate XML, parse XML to JS object, or build XML from JS object wi
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. Prior to version 5.3.8, the application crashes with stack overflow when user use XML builder with `preserveOrder:true`. Version 5.3.8 fixes the issue. As a workaround, use XML builder with `preserveOrder:fal
ghsanvdosv
CVE-2023-34104P3HIGHCVSS 7.5fixed in 4.2.4v>= 4.1.3, < 4.2.42023-06-06
CVE-2023-34104 [HIGH] CWE-400 CVE-2023-34104: fast-xml-parser is an open source, pure javascript xml parser. fast-xml-parser allows special charac
fast-xml-parser is an open source, pure javascript xml parser. fast-xml-parser allows special characters in entity names, which are not escaped or sanitized. Since the entity name is used for creating a regex for searching and replacing entities in the XML body, an attacker can abuse it for denial of service (DoS) attacks. By crafting an entity name t
ghsanvdosv
CVE-2024-41818P3HIGHCVSS 7.5v4.2.4v>= 4.3.5, < 4.4.12024-07-29
CVE-2024-41818 [HIGH] CWE-400 CVE-2024-41818: fast-xml-parser is an open source, pure javascript xml parser. a ReDOS exists on currency.js. This v
fast-xml-parser is an open source, pure javascript xml parser. a ReDOS exists on currency.js. This vulnerability is fixed in 4.4.1.
ghsanvdosv
CVE-2023-26920P3MEDIUM≥ 0, < 4.1.22023-06-13
CVE-2023-26920 [MEDIUM] CWE-1321 fast-xml-parser vulnerable to Prototype Pollution through tag or attribute name
fast-xml-parser vulnerable to Prototype Pollution through tag or attribute name
### Impact
As a part of this vulnerability, user was able to se code using `__proto__` as a tag or attribute name.
```js
const { XMLParser, XMLBuilder, XMLValidator} = require("fast-xml-parser");
let XMLdata = "hacked"
const parser = new XMLParser();
let jObj = parser.parse(XMLdata);
console.log(jObj.
ghsaosv
CVE-2026-33349P4MEDIUMCVSS 5.9≥ 4.0.1, < 4.5.5≥ 5.0.0, < 5.5.7+2 more2026-03-24
CVE-2026-33349 [MEDIUM] CWE-1284 CVE-2026-33349: fast-xml-parser allows users to process XML from JS object without C/C++ based libraries or callback
fast-xml-parser allows users to process XML from JS object without C/C++ based libraries or callbacks. From version 4.0.0-beta.3 to before version 5.5.7, the DocTypeReader in fast-xml-parser uses JavaScript truthy checks to evaluate maxEntityCount and maxEntitySize configuration limits. When a developer explicitly sets either limit to 0 — intending
ghsanvdosv
CVE-2026-41650P4MEDIUMCVSS 6.1fixed in 5.7.02026-05-07
CVE-2026-41650 [MEDIUM] CWE-91 CVE-2026-41650: fast-xml-parser allows users to process XML from JS object without C/C++ based libraries or callback
fast-xml-parser allows users to process XML from JS object without C/C++ based libraries or callbacks. Prior to version 5.7.0, XMLBuilder does not escape the "-->" sequence in comment content or the "]]>" sequence in CDATA sections when building XML from JavaScript objects. This allows XML injection when user-controlled data flows into comments or CD
ghsanvd