---
id: CVE-2026-83610
title: >-
  xmldom is a pure JavaScript W3C standard-based (XML DOM Level 2 Core)
  DOMParser and XMLSerializer module
summary: >-
  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.createEntityReference(name) a…
severity: medium
cwe:
  - CWE-116
  - CWE-91
vendor: xmldom
product: '@xmldom/xmldom'
affected:
  - '@xmldom/xmldom >= 0.7.0, <= 0.8.14'
  - '@xmldom/xmldom >= 0.9.0, <= 0.9.11'
  - xmldom <= 0.6.0
patched:
  - '@xmldom/xmldom 0.8.15'
  - '@xmldom/xmldom 0.9.12'
published: '2026-09-01'
updated: '2026-09-08'
sourceUpdated: '2026-09-08T21:11:31.703'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-83610'
references:
  - url: >-
      https://github.com/xmldom/xmldom/commit/4664386e4f4d99d17b416a151dbe8323e245284b
    label: security-advisories@github.com
  - url: >-
      https://github.com/xmldom/xmldom/commit/6c3fb5ffeafe7901ec928ce9010988dd716c94a0
    label: security-advisories@github.com
  - url: 'https://github.com/xmldom/xmldom/pull/1071'
    label: security-advisories@github.com
  - url: 'https://github.com/xmldom/xmldom/pull/1072'
    label: security-advisories@github.com
  - url: 'https://github.com/xmldom/xmldom/releases/tag/0.8.15'
    label: security-advisories@github.com
  - url: 'https://github.com/xmldom/xmldom/releases/tag/0.9.12'
    label: security-advisories@github.com
  - url: 'https://github.com/xmldom/xmldom/security/advisories/GHSA-6gmq-8vp8-gcm6'
    label: security-advisories@github.com
  - url: 'https://github.com/xmldom/xmldom/security/advisories/GHSA-6gmq-8vp8-gcm6'
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-83610'
  - url: 'https://github.com/advisories/GHSA-6gmq-8vp8-gcm6'
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-83610.json
  - url: 'https://access.redhat.com/security/cve/CVE-2026-83610'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2526820'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-83610'
tags:
  - nvd
  - ghsa
  - npm
  - csaf
  - vex
  - red-hat
epss: 0.0059
epssPercentile: 0.45926
aliases:
  - GHSA-6gmq-8vp8-gcm6
ecosystem: npm
ingestedAt: '2026-09-02T15:46:29.407Z'
cvss: 5.3
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N'
cvssSource: vendor
---

## Overview

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.createEntityReference(name) accepts an invalid name and the ENTITY_REFERENCE_NODE serializer emits the resulting nodeName directly in &name; form. Directly serializing the node or fragment with XMLSerializer.serializeToString() and requireWellFormed: true can therefore break the entity-reference boundary and produce attacker-controlled XML markup when reparsed. The parser does not ordinarily create these nodes, and element-child insertion is rejected, so exploitation requires an application to create and directly serialize an EntityReference. This issue is fixed in @xmldom/xmldom versions 0.8.15 and 0.9.12; no fixed version is available for xmldom.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Package advisory (CVE-2026-83610)

Affected packages:

- `@xmldom/xmldom >= 0.7.0, <= 0.8.14`
- `@xmldom/xmldom >= 0.9.0, <= 0.9.11`
- `xmldom <= 0.6.0`

Patched in:

- `@xmldom/xmldom 0.8.15`
- `@xmldom/xmldom 0.9.12`

Source: https://github.com/advisories/GHSA-6gmq-8vp8-gcm6

## Vendor advisories

- **Red Hat VEX** · Moderate · affected: Red Hat Build of Podman Desktop, Red Hat Developer Hub, Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 9, Red Hat Fuse 7, … · no fix planned: Red Hat Fuse 7, Red Hat Build of Podman Desktop, Red Hat Developer Hub, Red Hat Enterprise Linux 10, … · updated 2026-09-21 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-83610.json)
