# CVE-2026-141469: fast-xml-parser: quadratic-time (ReDoS-class) denial of service in XMLValidator attribute scanner, default options

- Severity: Medium 5.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-12-01T20:22:49.578Z
- Modified: 2026-12-01T23:45:03.935Z
- Also known as: GHSA-7cfw-w2rf-f3jc
- Weaknesses: CWE-400, CWE-1333
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

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 only. This issue is fixed in version 5.12.1.

(As written by CVE List.)

## Affected

- NaturalIntelligence fast-xml-parser: < 5.12.1
- fast-xml-parser (npm): before 5.12.1

## Every score

- GitHub_M: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- GitHub: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`

## References

- <https://github.com/NaturalIntelligence/fast-xml-parser/security/advisories/GHSA-7cfw-w2rf-f3jc> (exploit, web)
- <https://github.com/NaturalIntelligence/fast-xml-parser/commit/4a1623bc23c011fd5ea0b72c21b00f3109688e6c> (web)
- <https://github.com/NaturalIntelligence/fast-xml-parser/releases/tag/v5.12.1> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-141469> (advisory)
- <https://github.com/NaturalIntelligence/fast-xml-parser> (package)

## Sources

- CVE List: [CVE-2026-141469](https://www.cve.org/CVERecord?id=CVE-2026-141469), CVE Terms of Use, modified 2026-12-01
- GitHub Advisory Database: [GHSA-7cfw-w2rf-f3jc](https://github.com/advisories/GHSA-7cfw-w2rf-f3jc), CC-BY-4.0, modified 2026-12-01

---

Page: https://cve.day/CVE-2026-141469 · Whole record: https://cve.day/CVE-2026-141469.json · Rebuilt by cve.day 2026-12-02T00:17:24.669Z
