cbcvebase.

Xmldom vulnerabilities

25 known vulnerabilities affecting xmldom/xmldom.

Total CVEs
25
CISA KEV
0
Public exploits
0
Exploited in wild
0
Severity breakdown
CRITICAL1HIGH20MEDIUM4

Vulnerabilities

Page 1 of 2
CVE-2022-39299P3HIGHCVSS 8.1≤ 0.6.0fixed in 0.7.7+2 more2022-10-12
CVE-2022-39299 [HIGH] CWE-347 CVE-2022-39299: Passport-SAML is a SAML 2.0 authentication provider for Passport, the Node.js authentication library Passport-SAML is a SAML 2.0 authentication provider for Passport, the Node.js authentication library. A remote attacker may be able to bypass SAML authentication on a website using passport-saml. A successful attack requires that the attacker is in possession of an arbitrary IDP signed XML element. Depending on the IDP used, fully unauthenticated atta
nvd
CVE-2026-83608P3HIGHCVSS 8.7≤ 0.6.0v>= 0.9.0, < 0.9.12+1 more2026-09-01
CVE-2026-83608 [HIGH] CWE-91 CVE-2026-83608: xmldom is a pure JavaScript W3C standard-based (XML DOM Level 2 Core) DOMParser and XMLSerializer mo xmldom is a pure JavaScript W3C standard-based (XML DOM Level 2 Core) DOMParser and XMLSerializer module. Prior to @xmldom/xmldom versions 0.8.15 and 0.9.12, and in xmldom version 0.6.0 and earlier, the DOCUMENT_TYPE_NODE branch in lib/dom.js validates publicId, systemId, and internalSubset under requireWellFormed: true but emits DocumentType.name verb
ghsanvd
CVE-2026-83615P3HIGHCVSS 8.7v>= 0.1.5, <= 0.6.0v>= 0.7.0, < 0.8.15+1 more2026-09-01
CVE-2026-83615 [HIGH] CWE-770 CVE-2026-83615: xmldom is a pure JavaScript W3C standard-based (XML DOM Level 2 Core) DOMParser and XMLSerializer mo xmldom is a pure JavaScript W3C standard-based (XML DOM Level 2 Core) DOMParser and XMLSerializer module. Prior to @xmldom/xmldom versions 0.8.15 and 0.9.12, and in xmldom versions 0.1.5 through 0.6.0, appendElement in lib/sax.js uses _copy to clone the complete currentNSMap for each nested element that declares a new namespace prefix. Keeping every a
ghsanvd
CVE-2026-83616P3HIGHCVSS 8.7≤ 0.6.0v>= 0.7.0, < 0.8.15+1 more2026-09-01
CVE-2026-83616 [HIGH] CWE-91 CVE-2026-83616: xmldom is a pure JavaScript W3C standard-based (XML DOM Level 2 Core) DOMParser and XMLSerializer mo xmldom is a pure JavaScript W3C standard-based (XML DOM Level 2 Core) DOMParser and XMLSerializer module. Prior to @xmldom/xmldom versions 0.8.15 and 0.9.12, and in xmldom version 0.6.0 and earlier, Document.createProcessingInstruction(target, data) in lib/dom.js accepts an unvalidated target, while the requireWellFormed: true serializer checks only fo
ghsanvd
CVE-2026-83618P3HIGHCVSS 8.7v>= 0.9.10, < 0.9.122026-09-01
CVE-2026-83618 [HIGH] CWE-91 CVE-2026-83618: xmldom is a pure JavaScript W3C standard-based (XML DOM Level 2 Core) DOMParser and XMLSerializer mo xmldom is a pure JavaScript W3C standard-based (XML DOM Level 2 Core) DOMParser and XMLSerializer module. From 0.9.10 until 0.9.12, the requireWellFormed: true serializer validates DocumentType.publicId and DocumentType.systemId with PubidLiteral_match and SystemLiteral_match expressions produced by reg() in lib/grammar.js, which inherit the multiline
ghsanvd
CVE-2026-83605P3HIGHCVSS 8.7≤ 0.6.0v>= 0.7.0, < 0.8.14+1 more2026-09-01
CVE-2026-83605 [HIGH] CWE-91 CVE-2026-83605: xmldom is a pure JavaScript W3C standard-based (XML DOM Level 2 Core) DOMParser and XMLSerializer mo xmldom is a pure JavaScript W3C standard-based (XML DOM Level 2 Core) DOMParser and XMLSerializer module. Prior to @xmldom/xmldom versions 0.8.14 and 0.9.11, and in xmldom version 0.6.0 and earlier, Element.setAttribute() calls the private _createAttribute(name) path without validating the attribute name, while Document.createAttribute(name) validates
ghsanvd
CVE-2026-83613P3HIGHCVSS 8.7≤ 0.6.0v>= 0.9.0, < 0.9.12+1 more2026-09-01
CVE-2026-83613 [HIGH] CWE-407 CVE-2026-83613: xmldom is a pure JavaScript W3C standard-based (XML DOM Level 2 Core) DOMParser and XMLSerializer mo xmldom is a pure JavaScript W3C standard-based (XML DOM Level 2 Core) DOMParser and XMLSerializer module. Prior to @xmldom/xmldom versions 0.8.15 and 0.9.12, and in xmldom version 0.6.0 and earlier, DOMHandler.startElement in lib/dom-parser.js inserts every parsed attribute through setAttributeNode, while NamedNodeMap.setNamedItem in lib/dom.js calls
ghsanvd
CVE-2026-83617P3HIGHCVSS 8.7v>= 0.9.11, < 0.9.122026-09-01
CVE-2026-83617 [HIGH] CWE-91 CVE-2026-83617: xmldom is a pure JavaScript W3C standard-based (XML DOM Level 2 Core) DOMParser and XMLSerializer mo xmldom is a pure JavaScript W3C standard-based (XML DOM Level 2 Core) DOMParser and XMLSerializer module. From 0.9.11 until 0.9.12, the requireWellFormed: true element and attribute name checks use the anchored QName_exact expression produced by reg() in lib/grammar.js, which inherits the multiline flag. A name with a valid first line followed by U+000
ghsanvd
CVE-2026-83606P3HIGHCVSS 8.7v>= 0.9.0-beta.9, < 0.9.112026-09-01
CVE-2026-83606 [HIGH] CWE-400 CVE-2026-83606: xmldom is a pure JavaScript W3C standard-based (XML DOM Level 2 Core) DOMParser and XMLSerializer mo xmldom is a pure JavaScript W3C standard-based (XML DOM Level 2 Core) DOMParser and XMLSerializer module. From 0.9.0-beta.9 until 0.9.11, the processing-instruction production in lib/grammar.js lets the greedy S+ separator and lazy Char*? data group repeatedly repartition a long whitespace tail when the required closing ?> is absent. Both parsePI and
ghsanvd
CVE-2026-83614P3HIGHCVSS 8.7v>= 0.3.0, <= 0.6.0v>= 0.7.0, < 0.8.15+1 more2026-09-01
CVE-2026-83614 [HIGH] CWE-400 CVE-2026-83614: xmldom is a pure JavaScript W3C standard-based (XML DOM Level 2 Core) DOMParser and XMLSerializer mo xmldom is a pure JavaScript W3C standard-based (XML DOM Level 2 Core) DOMParser and XMLSerializer module. Prior to @xmldom/xmldom versions 0.8.15 and 0.9.12, and in xmldom versions 0.3.0 through 0.6.0, two independent quadratic paths can cause denial of service. In lib/sax.js, parseElementStartPart repeatedly rescans a malformed tag name to the next >
ghsanvd
CVE-2026-83619P3HIGHCVSS 8.7v>= 0.7.0, < 0.8.152026-09-01
CVE-2026-83619 [HIGH] CWE-400 CVE-2026-83619: xmldom is a pure JavaScript W3C standard-based (XML DOM Level 2 Core) DOMParser and XMLSerializer mo xmldom is a pure JavaScript W3C standard-based (XML DOM Level 2 Core) DOMParser and XMLSerializer module. From 0.7.0 until 0.8.15, the release-0.8.x parser in lib/sax.js trims captured end-tag names with the unanchored global expression /[ \t\n\r]+$/g. For an end tag containing a long whitespace run followed by a non-whitespace character, the expressi
ghsanvd
CVE-2026-41675P3HIGHCVSS 7.5vxmldom <= 0.6.0v@xmldom/xmldom >= 0.9.0, < 0.9.10+1 more2026-05-07
CVE-2026-41675 [HIGH] CWE-91 CVE-2026-41675: xmldom is a pure JavaScript W3C standard-based (XML DOM Level 2 Core) `DOMParser` and `XMLSerializer xmldom is a pure JavaScript W3C standard-based (XML DOM Level 2 Core) `DOMParser` and `XMLSerializer` module. In @xmldom/xmldom prior to versions 0.9.10 and 0.8.13 and xmldom version 0.6.0 and prior, the package allows attacker-controlled processing instruction data to be serialized into XML without validating or neutralizing the PI-closing sequence ?>
ghsanvd
CVE-2026-41672P3HIGHCVSS 7.5vxmldom <= 0.6.0v@xmldom/xmldom >= 0.9.0, < 0.9.10+1 more2026-05-07
CVE-2026-41672 [HIGH] CWE-91 CVE-2026-41672: xmldom is a pure JavaScript W3C standard-based (XML DOM Level 2 Core) `DOMParser` and `XMLSerializer xmldom is a pure JavaScript W3C standard-based (XML DOM Level 2 Core) `DOMParser` and `XMLSerializer` module. In @xmldom/xmldom prior to versions 0.9.10 and 0.8.13 and xmldom version 0.6.0 and prior, the package allows attacker-controlled comment content to be serialized into XML without validating or neutralizing comment-breaking sequences. As a resul
ghsanvd
CVE-2026-83607P3HIGHCVSS 8.7≤ 0.6.0v>= 0.7.0, < 0.8.14+1 more2026-09-01
CVE-2026-83607 [HIGH] CWE-91 CVE-2026-83607: xmldom is a pure JavaScript W3C standard-based (XML DOM Level 2 Core) DOMParser and XMLSerializer mo xmldom is a pure JavaScript W3C standard-based (XML DOM Level 2 Core) DOMParser and XMLSerializer module. Prior to @xmldom/xmldom versions 0.8.14 and 0.9.11, and in xmldom version 0.6.0 and earlier, Document.createElement(tagName) stores an unvalidated element name and XMLSerializer.serializeToString() emits that name verbatim. The requireWellFormed: t
ghsanvd
CVE-2026-83612P3HIGHCVSS 8.7v>= 0.9.0-beta.1, < 0.9.122026-09-01
CVE-2026-83612 [HIGH] CWE-178 CVE-2026-83612: xmldom is a pure JavaScript W3C standard-based (XML DOM Level 2 Core) DOMParser and XMLSerializer mo xmldom is a pure JavaScript W3C standard-based (XML DOM Level 2 Core) DOMParser and XMLSerializer module. From 0.9.0-beta.1 until 0.9.12, HTML-mode parsing through DOMParser.parseFromString() mishandles a mixed-case closing tag for the script, style, textarea, or title raw-text elements. parseHtmlSpecialContent, selected by isHTMLRawTextElement or isH
ghsanvd
CVE-2026-83609P3HIGHCVSS 8.7v>= 0.9.0, < 0.9.122026-09-01
CVE-2026-83609 [HIGH] CWE-91 CVE-2026-83609: xmldom is a pure JavaScript W3C standard-based (XML DOM Level 2 Core) DOMParser and XMLSerializer mo xmldom is a pure JavaScript W3C standard-based (XML DOM Level 2 Core) DOMParser and XMLSerializer module. From 0.9.0 until 0.9.12, the shared reg() builder in lib/grammar.js compiles the anchored QName_exact validator with the multiline flag, so ^ and $ validate only one line instead of the complete name. createElementNS, createAttributeNS, createDocum
ghsanvd
CVE-2026-41674P3HIGHCVSS 7.5vxmldom <= 0.6.0v@xmldom/xmldom >= 0.9.0, < 0.9.10+1 more2026-05-07
CVE-2026-41674 [HIGH] CWE-91 CVE-2026-41674: xmldom is a pure JavaScript W3C standard-based (XML DOM Level 2 Core) `DOMParser` and `XMLSerializer xmldom is a pure JavaScript W3C standard-based (XML DOM Level 2 Core) `DOMParser` and `XMLSerializer` module. In @xmldom/xmldom prior to versions 0.9.10 and 0.8.13 and xmldom version 0.6.0 and prior, the package serializes DocumentType node fields (internalSubset, publicId, systemId) verbatim without any escaping or validation. When these fields are se
ghsanvd
CVE-2026-34601P3HIGHCVSS 7.5vxmldom <= 0.6.0v@xmldom/xmldom < 0.8.12+1 more2026-04-02
CVE-2026-34601 [HIGH] CWE-91 CVE-2026-34601: xmldom is a pure JavaScript W3C standard-based (XML DOM Level 2 Core) `DOMParser` and `XMLSerializer xmldom is a pure JavaScript W3C standard-based (XML DOM Level 2 Core) `DOMParser` and `XMLSerializer` module. In xmldom versions 0.6.0 and prior and @xmldom/xmldom prior to versions 0.8.12 and 0.9.9, xmldom/xmldom allows attacker-controlled strings containing the CDATA terminator ]]> to be inserted into a CDATASection node. During serialization, XMLSer
ghsanvdosv
CVE-2022-37616P3CRITICAL≥ 0.8.0, < 0.8.3≥ 0, ≤ 0.6.0+2 more2022-10-11
CVE-2022-37616 [CRITICAL] CWE-1321 Withdrawn: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution') in @xmldom/xmldom and xmldom Withdrawn: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution') in @xmldom/xmldom and xmldom ## Withdrawn This advisory has been withdrawn because the maintainers of `@xmldom/xmldom` and multiple third parties disputed the validity of the issue. Attempts to create or replicate a proof of concept
ghsaosv
CVE-2022-39353P3HIGHCVSS 8.1≥ 0, ≤ 0.6.0≥ 0, < 0.7.7+2 more2022-11-01
CVE-2022-39353 [HIGH] CWE-1288 xmldom allows multiple root nodes in a DOM xmldom allows multiple root nodes in a DOM ### Impact xmldom parses XML that is not well-formed because it contains multiple top level elements, and adds all root nodes to the `childNodes` collection of the `Document`, without reporting any error or throwing. This breaks the assumption that there is only a single root node in the tree, which led to https://nvd.nist.gov/vuln/detail/CVE-2022-39299 and is a potential issue f
ghsaosv
Xmldom vulnerabilities | cvebase