node-xmldom — security advisory
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 ?>. As a result, an attacker can terminate the processing instruction early and inject arbitrary XML nodes into the serialized output. This issue has been patched in versions @xmldom/xmldom versions 0.9.10 and 0.8.13.
- Products
- node-xmldom
- Affected versions
- 0.1.27+ds-1, 0.1.27+ds-1+deb10u2build0.20.04.1, 0.5.0-1, 0.7.3-1, 0.7.5-1, 0.7.5-1ubuntu0.22.04.1, 0.8.6-1, 0.9.10-2, 0.9.11-1, 0.9.6-1, 0.9.8-1, 0.9.8-2
- Fixed versions
- Not specified
- CVEs
- CVE-2026-41675
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 02:11 UTC · Revision 1
Source evidence
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 ?>. As a result, an attacker can terminate the processing instruction early and inject arbitrary XML nodes into the serialized output. This issue has been patched in versions @xmldom/xmldom versions 0.9.10 and 0.8.13.
osv:UBUNTU-CVE-2026-41675
node-xmldom
Fixed versions: Not specified
node-xmldom
Fixed versions: Not specified
node-xmldom
Fixed versions: Not specified
node-xmldom
Fixed versions: Not specified
node-xmldom
Fixed versions: Not specified
node-xmldom
Fixed versions: Not specified
Complete source record
{
"id": "a03179557cee536b7b1d40fa17bae02cad530329b6f4693ff9d7d34ef47a47b6",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-41675",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2026-41675",
"summary": "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 ?>. As a result, an attacker can terminate the processing instruction early and inject arbitrary XML nodes into the serialized output. This issue has been patched in versions @xmldom/xmldom versions 0.9.10 and 0.8.13.",
"evidence": "osv:UBUNTU-CVE-2026-41675",
"products": [
{
"name": {
"value": "node-xmldom",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.1.27+ds-1",
"evidence": "/affected/0/versions"
},
{
"value": "0.1.27+ds-1+deb10u2build0.20.04.1",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "node-xmldom",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.5.0-1",
"evidence": "/affected/1/versions"
},
{
"value": "0.7.3-1",
"evidence": "/affected/1/versions"
},
{
"value": "0.7.5-1",
"evidence": "/affected/1/versions"
},
{
"value": "0.7.5-1ubuntu0.22.04.1",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "node-xmldom",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.8.6-1",
"evidence": "/affected/2/versions"
}
]
},
{
"name": {
"value": "node-xmldom",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.9.6-1",
"evidence": "/affected/3/versions"
}
]
},
{
"name": {
"value": "node-xmldom",
"evidence": "/affected/4/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.9.8-2",
"evidence": "/affected/4/versions"
},
{
"value": "0.9.10-2",
"evidence": "/affected/4/versions"
},
{
"value": "0.9.11-1",
"evidence": "/affected/4/versions"
}
]
},
{
"name": {
"value": "node-xmldom",
"evidence": "/affected/5/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.9.6-1",
"evidence": "/affected/5/versions"
},
{
"value": "0.9.8-1",
"evidence": "/affected/5/versions"
},
{
"value": "0.9.8-2",
"evidence": "/affected/5/versions"
}
]
}
],
"severity": "high",
"structured": {
"id": "UBUNTU-CVE-2026-41675",
"aliases": [
"UBUNTU-CVE-2026-41675"
],
"metrics": [
{
"type": "CVSS_V4",
"score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N"
},
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"
},
{
"type": "Ubuntu",
"score": "medium"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "node-xmldom",
"purl": "pkg:deb/ubuntu/node-xmldom?arch=source&distro=focal",
"ecosystem": "Ubuntu:20.04:LTS"
},
"versions": [
"0.1.27+ds-1",
"0.1.27+ds-1+deb10u2build0.20.04.1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-41675.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "node-xmldom",
"binary_version": "0.1.27+ds-1+deb10u2build0.20.04.1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "node-xmldom",
"purl": "pkg:deb/ubuntu/node-xmldom?arch=source&distro=jammy",
"ecosystem": "Ubuntu:22.04:LTS"
},
"versions": [
"0.5.0-1",
"0.7.3-1",
"0.7.5-1",
"0.7.5-1ubuntu0.22.04.1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-41675.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "node-xmldom",
"binary_version": "0.7.5-1ubuntu0.22.04.1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "node-xmldom",
"purl": "pkg:deb/ubuntu/node-xmldom?arch=source&distro=noble",
"ecosystem": "Ubuntu:24.04:LTS"
},
"versions": [
"0.8.6-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-41675.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "node-xmldom",
"binary_version": "0.8.6-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "node-xmldom",
"purl": "pkg:deb/ubuntu/node-xmldom?arch=source&distro=questing",
"ecosystem": "Ubuntu:25.10"
},
"versions": [
"0.9.6-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-41675.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "node-xmldom",
"binary_version": "0.9.6-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "node-xmldom",
"purl": "pkg:deb/ubuntu/node-xmldom?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"0.9.8-2",
"0.9.10-2",
"0.9.11-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-41675.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "node-xmldom",
"binary_version": "0.9.11-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "node-xmldom",
"purl": "pkg:deb/ubuntu/node-xmldom?arch=source&distro=resolute",
"ecosystem": "Ubuntu:26.04:LTS"
},
"versions": [
"0.9.6-1",
"0.9.8-1",
"0.9.8-2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-41675.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "node-xmldom",
"binary_version": "0.9.8-2"
}
]
}
}
],
"modified": "2026-10-17T12:58:15.287512757Z",
"provider": "osv",
"upstream": [
"CVE-2026-41675"
],
"references": [
"https://ubuntu.com/security/CVE-2026-41675",
"https://www.cve.org/CVERecord?id=CVE-2026-41675",
"https://github.com/xmldom/xmldom/security/advisories/GHSA-x6wf-f3px-wcqx",
"https://github.com/xmldom/xmldom/commit/7207a4b0e0bcc228868075ed991665ef9f73b1c2"
]
},
"related_cves": [
{
"value": "CVE-2026-41675",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 358446,
"published_at": "2026-05-07T04:16:00+00:00"
}