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.
{
"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"
}{
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "5.12.1"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"fixed": "4a1623bc23c011fd5ea0b72c21b00f3109688e6c"
}
],
"source": "REFERENCES_COMMIT"
},
{
"original_tag": "v5.12.1",
"range": [
{
"fixed": "88b816b30d8d41fd276c35afa267e84f2bf4ffb5"
}
],
"source": "REFERENCES_TAG"
}
]
}