npmWorst: Critical13 advisories
fast-xml-parser: known vulnerabilities
fast-xml-parser has 13 reviewed security advisories in the GitHub Advisory Database — 1 critical, 6 high, 3 moderate, 3 low. The most recent was published 2026-11-10. Each one below lists the affected version range, the release that fixes it, its CVE and severity. SkyShield matches these against the fast-xml-parser versions running across your servers, containers and images, and ranks what to patch first.
How to fix fast-xml-parser
Upgrade fast-xml-parser to a release at or above the fixed version shown for each advisory below. For npm:
npm install fast-xml-parser@5.12.0 (or run npm audit fix)
SkyShield checks the installed version on every machine and container, so you can see which hosts are still on an affected release after you roll the fix out.
Advisories (13)
fast-xml-parser: Quadratic CPU consumption scanning unterminated stop-node tags
Low 3.7 CWE-407
— Affected: before 5.12.0. Fixed in 5.12.0. Published 2026-11-10. GHSA-474x-hrwr-fgx4 · CVE-2026-126066
fast-xml-parser: Repeated DOCTYPE declarations reset entity expansion limits
High CWE-776
— Affected: from 5.9.3 up to 5.10.1. Fixed in 5.10.1. Published 2026-07-21. GHSA-8r6m-32jq-jx6q · CVE-2026-73569
fast-xml-parser XMLBuilder: XML Comment and CDATA Injection via Unescaped Delimiters
Moderate 6.1 CWE-91
— Affected: before 5.7.0. Fixed in 5.7.0. Published 2026-05-07. GHSA-gh4j-gqv2-49f6 · CVE-2026-41650
Entity Expansion Limits Bypassed When Set to Zero Due to JavaScript Falsy Evaluation in fast-xml-parser
Moderate 5.9 CWE-1284
— Affected: from 5.0.0 up to 5.5.7. Fixed in 5.5.7. Published 2026-03-24. GHSA-jp2q-39xq-3w4g · CVE-2026-33349
fast-xml-parser affected by numeric entity expansion bypassing all entity expansion limits (incomplete fix for CVE-2026-26278)
High 7.5 CWE-776
— Affected: from 4.0.0-beta.3 up to 4.5.5. Fixed in 4.5.5. Published 2026-03-20. GHSA-8gc5-j5rx-235r · CVE-2026-33036
fast-xml-parser has stack overflow in XMLBuilder with preserveOrder
Low CWE-120
— Affected: from 4.0.0-beta.0 up to 4.5.4. Fixed in 4.5.4. Published 2026-02-26. GHSA-fj3w-jwp8-x2g3 · CVE-2026-27942
fast-xml-parser has an entity encoding bypass via regex injection in DOCTYPE entity names
Critical 9.3 CWE-185
— Affected: from 4.1.3 up to 4.5.4. Fixed in 4.5.4. Published 2026-02-20. GHSA-m7jm-9gc2-mpf2 · CVE-2026-25896
fast-xml-parser affected by DoS through entity expansion in DOCTYPE (no expansion limit)
High 7.5 CWE-776
— Affected: from 5.0.0 up to 5.3.6. Fixed in 5.3.6. Published 2026-02-19. GHSA-jmr7-xgp7-cmfj · CVE-2026-26278
fast-xml-parser has RangeError DoS Numeric Entities Bug
High 7.5 CWE-20 CWE-248
— Affected: from 5.0.9 up to 5.3.4. Fixed in 5.3.4. Published 2026-01-30. GHSA-37qj-frw5-hhjh · CVE-2026-25128
fast-xml-parser vulnerable to ReDOS at currency parsing
High 7.5 CWE-1333 CWE-400
— Affected: from 4.3.5 up to 4.4.1. Fixed in 4.4.1. Published 2024-07-29. GHSA-mpg4-rc92-vx8v · CVE-2024-41818
fast-xml-parser vulnerable to Prototype Pollution through tag or attribute name
Moderate 6.5 CWE-1321
— Affected: before 4.1.2. Fixed in 4.1.2. Published 2023-12-12. GHSA-x3cc-x39p-42qx · CVE-2021-26920
fast-xml-parser regex vulnerability patch could be improved from a safety perspective
Low
— Affected: from 4.2.4 up to 4.2.5. Fixed in 4.2.5. Published 2023-06-15. GHSA-gpv5-7x3g-ghjv
fast-xml-parser vulnerable to Regex Injection via Doctype Entities
High 7.5 CWE-1333 CWE-400
— Affected: from 4.1.3 up to 4.2.4. Fixed in 4.2.4. Published 2023-06-06. GHSA-6w63-h3fj-q4vw · CVE-2023-34104
Find fast-xml-parser across your fleet
Install one agent per server and connect your cloud. SkyShield matches your packages and images against GHSA,
CISA KEV and EPSS and shows the fix per machine. Free for one server, then from $49 per server a month.
Start free.