{"id":"CVE-2026-141469","summary":"fast-xml-parser: quadratic-time (ReDoS-class) denial of service in XMLValidator attribute scanner, default options","details":"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.","aliases":["GHSA-7cfw-w2rf-f3jc"],"modified":"2026-12-01T22:00:22.766987550Z","published":"2026-12-01T20:22:49.578Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-1333","CWE-400"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/141xxx/CVE-2026-141469.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/141xxx/CVE-2026-141469.json"},{"type":"FIX","url":"https://github.com/NaturalIntelligence/fast-xml-parser/commit/4a1623bc23c011fd5ea0b72c21b00f3109688e6c"},{"type":"WEB","url":"https://github.com/NaturalIntelligence/fast-xml-parser/releases/tag/v5.12.1"},{"type":"ADVISORY","url":"https://github.com/NaturalIntelligence/fast-xml-parser/security/advisories/GHSA-7cfw-w2rf-f3jc"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-141469"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/naturalintelligence/fast-xml-parser","events":[{"introduced":"0"},{"fixed":"88b816b30d8d41fd276c35afa267e84f2bf4ffb5"},{"fixed":"4a1623bc23c011fd5ea0b72c21b00f3109688e6c"}],"database_specific":{"extracted_events":[{"strategy":"StringRangeExpression","range":[{"introduced":"0"},{"fixed":"5.12.1"}],"source":"AFFECTED_FIELD"},{"range":[{"fixed":"4a1623bc23c011fd5ea0b72c21b00f3109688e6c"}],"source":"REFERENCES_COMMIT"},{"original_tag":"v5.12.1","range":[{"fixed":"88b816b30d8d41fd276c35afa267e84f2bf4ffb5"}],"source":"REFERENCES_TAG"}]}}],"versions":["v5.12.0","v5.11.2","v5.11.1","v5.11.0","v5.10.1","v5.10.0","v5.9.3","v5.9.2","v5.9.1","v5.9.0","v5.8.0","v5.7.3","v5.7.2","v5.7.1","v5.7.0","v5.6.0","v5.5.12","v5.5.11","v5.5.10","v5.5.9","v5.5.8","v5.5.7","v5.5.6","v5.5.5","v5.5.4","v5.5.3","v5.5.2","v5.5.1","v5.5.0","v5.4.2","v5.4.1","v4.5.2","v5.4.0","v5.3.9","v5.3.8","v5.3.7","v5.3.6","v5.3.5","v5.3.4","v5.3.3","v5.3.2","v5.3.1","v5.3.0","v5.2.5","v5.2.3","v5.2.2","v5.2.1","v5.2.0","v5.1.0","v5.0.9","v5.0.7","v5.0.6","v5.0.4","v5.0.2","v5.0.0","v4.5.1","v4.5.0","v4.4.1","v4.4.0","v4.3.6","v4.3.5","v4.3.4","v4.3.3","v4.3.2","v4.3.1","v4.3.0","v4.2.7","v4.2.6","v4.2.5","v4.2.4","v4.2.3","v4.2.0","v4.1.4","v4.1.3","v4.1.2","v4.1.1","v4.1.0","v4.0.15","v4.0.14","v4.0.13","v4.0.12","v4.0.11","v4.0.10","v4.0.9","v4.0.8","v4.0.7","v4.0.6","v4.0.5","v4.0.4","v4.0.2","v4.0.1","v4.0.0","v4.0.0-beta.6","v4.0.0-beta.5","v4.0.0-beta.4","v4.0.0-beta.3","v4.0.0-beta.2","v4.0.0-beta.0","v3.21.1","v3.21.0","v3.20.3","v3.20.2","v3.20.1","v3.20.0","3.19.0","3.18.0","3.17.5","3.17.1","3.16.0","v3.15.0","3.14.0","3.13.0","3.12.16","3.12.5","3.10.0","3.4.0","3.2.0","3.0.0","2.9.4","2.9.3"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-141469.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"}]}