Description
xmldom’s parser silently accepts a not-well-formed end tag whose valid name is followed by trailing content — e.g. </a⏎junk>.
Recommendation
Update the @xmldom/xmldom package to the latest compatible version. Followings are version details:
Affected version(s): **>= 0.9.0, <= 0.9.11 >= 0.7.0, <= 0.8.14** Patched version(s): **0.9.12 0.8.15**
References
Could your website be exposed too?
SmartScanner can check your website for xmldom: Parser silently accepts a not-well-formed end tag whose name is followed by a line break and trailing content and gives you actionable findings to investigate.
Start a free scanRelated Issues
- xmldom: Parser silently accepts a not-well-formed end tag whose name is followed by a line break and trailing content - xmldom - CVE-2026-83611
- xmldom: End-tag Whitespace-Trim Regex ReDoS — quadratic backtracking in the 0.8.x end-tag parser - CVE-2026-83619
- xmldom: Creation-time XML Name/QName validation is bypassable via an embedded line terminator, allowing injection on the - CVE-2026-83609
- xmldom: requireWellFormed element/attribute name validation is bypassable via an embedded line terminator - CVE-2026-83617


