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

- 種別: advisory
- 重大度: medium
- 関連技術: nodejs
- CVE: CVE-2026-141469
- 公開日時: 2026-12-01T23:35:22.000Z
- 情報源: GitHub Advisory Database (https://github.com/advisories/GHSA-7cfw-w2rf-f3jc)
- パーマリンク: https://vulnpulse.app/items/ghsa-ghsa-7cfw-w2rf-f3jc

影響: npm:fast-xml-parser <= 5.12.0 → 5.12.1
Reported by Nikhil Agrawal, Mettle Labs; reproduced only against a clean local install of fast-xml-parser@5.11.2 on their own machine. scanAttributeTokens in src/validator.js rescans a leading-whitespace run on every loop iteration when it hits a stray =, giving Theta(n^2) time. A few-hundred-KB input stalls the event loop for tens of seconds. Reachable on the default path via both XMLValidator.validate(xml) and new XMLParser().parse(xml, true), no non-default options. Details src/validator.js,…