Security mailing lists by PureSourceCode

CVE-2026-141469

MEDIUM 5.3CVSS 3.1

fast-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

SourceScored byVersionScoreVector / 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

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
CVE List NaturalIntelligence fast-xml-parser = < 5.12.1
OSV npm fast-xml-parser < 5.12.1 5.12.1

References

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)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.