---
title: "fast-xml-parser security advisories"
description: "13 known security advisories for fast-xml-parser, with the versions they affect and the version that fixes each."
url: https://inlinr.com/packages/fast-xml-parser/security
lang: en
---

[Packages](https://inlinr.com/packages)

# fast-xml-parser

5.12.1 · 13 Nov 2026 MIT 118.5M / week [Repository](https://github.com/NaturalIntelligence/fast-xml-parser) [Homepage](https://github.com/NaturalIntelligence/fast-xml-parser#readme) [npm](https://www.npmjs.com/package/fast-xml-parser) [Atom feed](https://inlinr.com/packages/feed/fast-xml-parser)

Your version 

## Security advisories

From OSV, open ones first. Each release line gets its own fix: an older major is fixed by a patch on that major, not by moving to the newest one.

| Line | Newest | Where it stands                                                               |
| ---- | ------ | ----------------------------------------------------------------------------- |
|      | 5.12.1 | Safe from 5.12.0                                                              |
|      | 4.5.7  | 1 open advisory, worst low                                                    |
|      | 3.21.1 | 9 open advisories, worst moderate  · last release Oct 2021, no longer updated |

- Critical  
[fast-xml-parser has an entity encoding bypass via regex injection in DOCTYPE entity names](https://inlinr.com/advisories/GHSA-m7jm-9gc2-mpf2)GHSA-m7jm-9gc2-mpf2 · 20 Feb 2026  
fixed in 5.3.5, 4.5.4
- High  
[fast-xml-parser: Repeated DOCTYPE declarations reset entity expansion limits](https://inlinr.com/advisories/GHSA-8r6m-32jq-jx6q)GHSA-8r6m-32jq-jx6q · 21 Jul 2026  
fixed in 5.10.1
- High  
[fast-xml-parser affected by numeric entity expansion bypassing all entity expansion limits (incomplete fix for CVE-2026-26278)](https://inlinr.com/advisories/GHSA-8gc5-j5rx-235r)GHSA-8gc5-j5rx-235r · 17 Mar 2026  
fixed in 5.5.6, 4.5.5
- High  
[fast-xml-parser affected by DoS through entity expansion in DOCTYPE (no expansion limit)](https://inlinr.com/advisories/GHSA-jmr7-xgp7-cmfj)GHSA-jmr7-xgp7-cmfj · 17 Feb 2026  
fixed in 5.3.6, 4.5.4
- High  
[fast-xml-parser has RangeError DoS Numeric Entities Bug](https://inlinr.com/advisories/GHSA-37qj-frw5-hhjh)GHSA-37qj-frw5-hhjh · 30 Jan 2026  
fixed in 5.3.4
- High  
[fast-xml-parser vulnerable to ReDOS at currency parsing](https://inlinr.com/advisories/GHSA-mpg4-rc92-vx8v)GHSA-mpg4-rc92-vx8v · 29 Jul 2024  
fixed in 4.4.1
- High  
[fast-xml-parser vulnerable to Regex Injection via Doctype Entities](https://inlinr.com/advisories/GHSA-6w63-h3fj-q4vw)GHSA-6w63-h3fj-q4vw · 6 Jun 2023  
fixed in 4.2.4
- Moderate  
[fast-xml-parser XMLBuilder: XML Comment and CDATA Injection via Unescaped Delimiters](https://inlinr.com/advisories/GHSA-gh4j-gqv2-49f6)GHSA-gh4j-gqv2-49f6 · 22 Apr 2026  
fixed in 5.7.0, 4.5.7
- Moderate  
[Entity Expansion Limits Bypassed When Set to Zero Due to JavaScript Falsy Evaluation in fast-xml-parser](https://inlinr.com/advisories/GHSA-jp2q-39xq-3w4g)GHSA-jp2q-39xq-3w4g · 19 Mar 2026  
fixed in 5.5.7, 4.5.5
- Moderate  
[fast-xml-parser vulnerable to Prototype Pollution through tag or attribute name](https://inlinr.com/advisories/GHSA-x3cc-x39p-42qx)GHSA-x3cc-x39p-42qx · 13 Jun 2023  
fixed in 4.1.2
- Low  
[fast-xml-parser: Quadratic CPU consumption scanning unterminated stop-node tags](https://inlinr.com/advisories/GHSA-474x-hrwr-fgx4)GHSA-474x-hrwr-fgx4 · 10 Nov 2026  
fixed in 5.12.0
- Low  
[fast-xml-parser has stack overflow in XMLBuilder with preserveOrder](https://inlinr.com/advisories/GHSA-fj3w-jwp8-x2g3)GHSA-fj3w-jwp8-x2g3 · 26 Feb 2026  
fixed in 5.3.8, 4.5.4
- Low  
[fast-xml-parser regex vulnerability patch could be improved from a safety perspective](https://inlinr.com/advisories/GHSA-gpv5-7x3g-ghjv)GHSA-gpv5-7x3g-ghjv · 15 Jun 2023  
fixed in 4.2.5

### Quality and security signals

What [npm](https://www.npmjs.com/package/fast-xml-parser) and [deps.dev](https://deps.dev/npm/fast-xml-parser) say about the latest release. Signals, not a verdict.

Reading npm and deps.dev…

Reading releases, release notes and advisories…

Registry facts last checked 22 Nov 2026\. Releases and advisories last read 22 Nov 2026.

A whole project to check? Paste its package.json in the [dependency check](https://inlinr.com/tools/dependency-check): every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.
