CVE-2026-141469
MEDIUM 5.3CVSS 3.1fast-xml-parser: quadratic-time (ReDoS-class) denial of service in XMLValidator attribute scanner, default options
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.
- Published
- 1 Dec 2026
- Last modified
- 1 Dec 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-1333CWE-400
- Also known as
- GHSA-7cfw-w2rf-f3jc
- Sources
- NVDJSONCVE ListJSONOSV GHSA-7cfw-w2rf-f3jcJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| CVE List | GitHub_M | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| CVE List | CISA-ADP | SSVC | Exploitation: poc; Automatable: yes; Technical Impact: partial |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | NaturalIntelligence | fast-xml-parser | = < 5.12.1 | |
| OSV | npm | fast-xml-parser | < 5.12.1 | 5.12.1 |
References
- https://github.com/NaturalIntelligence/fast-xml-parser/commit/4a1623bc23c011fd5ea0b72c21b00f3109688e6c · x_refsource_MISC, WEB
- https://github.com/NaturalIntelligence/fast-xml-parser/releases/tag/v5.12.1 · x_refsource_MISC, WEB
- https://github.com/NaturalIntelligence/fast-xml-parser/security/advisories/GHSA-7cfw-w2rf-f3jc · x_refsource_CONFIRM, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-141469 · ADVISORY
- https://github.com/NaturalIntelligence/fast-xml-parser · PACKAGE
History
- 1 Dec 2026 23:57 UTC · OSV: first stored (published 1 Dec 2026)
- 1 Dec 2026 21:37 UTC · NVD: first stored (published 1 Dec 2026)
- 1 Dec 2026 21:08 UTC · CVE List: updated (other details)
- 1 Dec 2026 20:41 UTC · CVE List: first stored (published 1 Dec 2026)