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

exploitDog

redhat логотип

CVE-2026-83611

Опубликовано: 01 сент. 2026
Источник: redhat
CVSS3: 5.3
EPSS Низкий

Описание

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, DOMParser.parseFromString() can silently accept an end tag such as </a\njunk>, close the element, and discard the trailing content. On 0.9.x, the lib/sax.js end-tag validator inherits the multiline flag from reg(), allowing the first line to satisfy the anchored XML ETag production; older lines have no equivalent residue validation. This parser differential can bypass a parse-before-trust well-formedness gate, although it does not inject the discarded content; onError on 0.9.x and errorHandler on 0.8.x are the relevant reporting interfaces. 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 XML DOM parser. The DOMParser.parseFromString() function can silently accept malformed XML end tags that include a line break and additional content. This unexpected parsing behavior causes the parser to close the element prematurely and discard the trailing content. This could potentially bypass security checks that rely on strict XML well-formedness, leading to data loss or misinterpretation in applications processing untrusted XML input.

Отчет

A flaw was found in the xmldom JavaScript package. The DOMParser.parseFromString() function mishandles malformed XML end tags containing line breaks and trailing content due to incomplete regex boundary validation during parsing. An attacker supplying crafted XML input can cause the parser to prematurely close XML elements and silently discard trailing data, bypassing parse-before-trust well-formedness gates. While this does not result in arbitrary node injection, it causes data integrity issues and potential security logic bypasses in downstream applications relying on strict XML verification.

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

Validate XML inputs against a strict schema or pre-parse XML documents using an alternative conforming parser prior to processing untrusted input with xmldom.

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

ПлатформаПакетСостояниеРекомендацияРелиз
Red Hat Build of Podman Desktoprh-podman-desktop.gitFix deferred
Red Hat Developer Hubrhdh/rhdh-hub-rhel9Fix deferred
Red Hat Enterprise Linux 10grafanaFix deferred
Red Hat Enterprise Linux 8grafanaFix deferred
Red Hat Enterprise Linux 9grafanaFix deferred
Red Hat Fuse 7xmldomFix deferred
Red Hat Fuse 7xmldom-0.1.27.tgzFix deferred
Red Hat OpenShift AI (RHOAI)rhoai/odh-mlflow-rhel9Fix deferred
Red Hat OpenShift Container Platform 4openshift4/ose-consoleFix deferred

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

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

Статус:

Moderate
Дефект:
CWE-1286
https://bugzilla.redhat.com/show_bug.cgi?id=2526838xmldom: xmldom: Malformed XML end tag parsing leads to content discard and security bypass

EPSS

Процентиль: 28%
0.00352
Низкий

5.3 Medium

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, DOMParser.parseFromString() can silently accept an end tag such as </a\njunk>, close the element, and discard the trailing content. On 0.9.x, the lib/sax.js end-tag validator inherits the multiline flag from reg(), allowing the first line to satisfy the anchored XML ETag production; older lines have no equivalent residue validation. This parser differential can bypass a parse-before-trust well-formedness gate, although it does not inject the discarded content; onError on 0.9.x and errorHandler on 0.8.x are the relevant reporting interfaces. 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: Parser silently accepts a not-well-formed end tag whose name is followed by a line break and trailing content

debian
15 дней назад

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

github
8 дней назад

xmldom: Parser silently accepts a not-well-formed end tag whose name is followed by a line break and trailing content

EPSS

Процентиль: 28%
0.00352
Низкий

5.3 Medium

CVSS3