Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

redhat логотип

CVE-2026-83616

Опубликовано: 01 сент. 2026
Источник: redhat
CVSS3: 7.5

Описание

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 for a colon and the reserved case-insensitive xml name on 0.9.x and performs no target check on 0.8.x. Because serialization emits , a target containing >, ?, whitespace, or another invalid XML-name character can break the processing-instruction boundary and inject XML structure. This issue is fixed in @xmldom/xmldom versions 0.8.15 and 0.9.12; no fixed version is available for xmldom.

A flaw was found in xmldom, a JavaScript module for parsing and serializing XML. An attacker can exploit a vulnerability in how processing instructions are handled to inject arbitrary XML structures. This occurs because the software fails to properly validate input, allowing special characters to bypass security checks. Successful exploitation could lead to data manipulation or other integrity impacts within applications processing the affected XML.

Отчет

A flaw was found in the xmldom JavaScript package. The Document.createProcessingInstruction() function in lib/dom.js fails to validate target strings, and XMLSerializer.serializeToString() with requireWellFormed: true performs insufficient target validation. An attacker supplying crafted processing instruction targets containing special characters (such as >, ?, or whitespace) can break processing instruction boundaries () during serialization. This enables arbitrary XML markup injection, compromising document integrity in applications processing serialized XML output.

Меры по смягчению последствий

Sanitize or validate all target strings passed to Document.createProcessingInstruction() to ensure compliance with XML Name production rules prior to serialization.

Затронутые пакеты

ПлатформаПакетСостояниеРекомендацияРелиз
Red Hat Build of Podman Desktoprh-podman-desktop.gitAffected
Red Hat Developer Hubrhdh/rhdh-hub-rhel9Affected
Red Hat Enterprise Linux 10grafanaAffected
Red Hat Enterprise Linux 8grafanaNot affected
Red Hat Enterprise Linux 9grafanaAffected
Red Hat Fuse 7xmldomWill not fix
Red Hat Fuse 7xmldom-0.1.27.tgzWill not fix
Red Hat OpenShift AI (RHOAI)rhoai/odh-mlflow-rhel9Affected
Red Hat OpenShift Container Platform 4openshift4/ose-consoleAffected

Показывать по

Дополнительная информация

Статус:

Important
Дефект:
CWE-91
https://bugzilla.redhat.com/show_bug.cgi?id=2526858xmldom: xmldom: XML Structure Injection via Unvalidated Processing Instruction Targets

7.5 High

CVSS3

Связанные уязвимости

ubuntu
15 дней назад

(xmldom is a pure JavaScript W3C standard-based (XML DOM Level 2 Core) ...)

nvd
15 дней назад

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 for a colon and the reserved case-insensitive xml name on 0.9.x and performs no target check on 0.8.x. Because serialization emits <?target data?>, a target containing >, ?, whitespace, or another invalid XML-name character can break the processing-instruction boundary and inject XML structure. This issue is fixed in @xmldom/xmldom versions 0.8.15 and 0.9.12; no fixed version is available for xmldom.

msrc
10 дней назад

xmldom: Processing Instruction Target Injection Bypasses requireWellFormed

debian
15 дней назад

xmldom is a pure JavaScript W3C standard-based (XML DOM Level 2 Core) ...

github
8 дней назад

xmldom: Processing Instruction Target Injection Bypasses requireWellFormed

7.5 High

CVSS3