Description
Improper output neutralization (XML injection) in QDom comment, CDATA, and processing-instruction serialization in Qt XML from 4.0.0 through 6.11 allows untrusted text serialized by an application into those nodes to inject arbitrary XML markup, because the node terminators are not escaped under the default InvalidDataPolicy (AcceptInvalidChars). Fixed in Qt 6.12.
Published: 2026-07-23
Score: 2.9 Low
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Improper output neutralization in Qt’s QDom comment, CDATA, and processing‑instruction serialization allows the injection of arbitrary XML markup when untrusted text is serialized into these nodes. The default policy accepts invalid characters, so node terminators are not escaped, enabling attackers to alter the XML structure or embed malicious data. This flaw can be used to bypass application logic that relies on the XML structure, potentially leading to downstream injection attacks or data tampering.

Affected Systems

Qt Qt 4.0.0 through 6.11 is affected. Every build in this range that uses QDom to serialize comment, CDATA or processing‑instruction nodes without custom validation is vulnerable. The vulnerability is present in the Qt XML module and persists across all platforms supported by the Qt library.

Risk and Exploitability

Based on the description, it is inferred that attackers can exploit this flaw by supplying untrusted XML input to an application that constructs QDom nodes; if the application treats the resulting XML as trustable data, the injected markup may influence downstream processing, potentially enabling broader compromise. The CVSS score of 2.9 indicates low severity. The EPSS score is less than 1 %, suggesting a very low exploitation probability. The vulnerability is not listed in CISA’s KEV catalog. The risk lies primarily in data integrity and confidentiality of the application’s XML processing.

Generated by OpenCVE AI on August 3, 2026 at 21:34 UTC.

Remediation

Vendor Solution

Update to Qt 6.12 or later.


Vendor Workaround

On all affected versions, set the invalid-data policy before building documents:QDomImplementation::setInvalidDataPolicy(QDomImplementation::ReturnNullNode); (or DropInvalidChars). With ReturnNullNode, the QDom factory functions return a null node when given data that is invalid per XML 1.0 — check the return value. As additional defence-in-depth, validate untrusted input before inserting it and do not treat QDom output as trusted structure downstream.


OpenCVE Recommended Actions

  • Update Qt to version 6.12 or later.
  • Configure QDomImplementation to use ReturnNullNode (or DropInvalidChars) before building any QDom documents to reject invalid data.
  • Validate all untrusted input before serializing it to QDom and avoid treating QDom output as trustable data downstream.

Generated by OpenCVE AI on August 3, 2026 at 21:34 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 07 Aug 2026 00:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N'}

threat_severity

Moderate


Thu, 23 Jul 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 23 Jul 2026 13:00:00 +0000

Type Values Removed Values Added
Description Improper output neutralization (XML injection) in QDom comment, CDATA, and processing-instruction serialization in Qt XML from 4.0.0 through 6.11 allows untrusted text serialized by an application into those nodes to inject arbitrary XML markup, because the node terminators are not escaped under the default InvalidDataPolicy (AcceptInvalidChars). Fixed in Qt 6.12.
Title XML injection vulnerability in QDom comment, CDATA and processing-instruction serialization
First Time appeared Qt
Qt qt
Weaknesses CWE-91
CPEs cpe:2.3:a:qt:qt:*:*:*:*:*:*:*:*
Vendors & Products Qt
Qt qt
References
Metrics cvssV4_0

{'score': 2.9, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P'}


cve-icon MITRE

Status: PUBLISHED

Assigner: TQtC

Published:

Updated: 2026-07-23T14:45:39.734Z

Reserved: 2026-07-08T08:35:17.940Z

Link: CVE-2026-15037

cve-icon Vulnrichment

Updated: 2026-07-23T14:45:35.678Z

cve-icon NVD

Status : Deferred

Published: 2026-07-23T13:16:25.730

Modified: 2026-07-23T15:25:49.050

Link: CVE-2026-15037

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-07-23T12:33:11Z

Links: CVE-2026-15037 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-03T21:45:03Z

Weaknesses
  • CWE-91

    XML Injection (aka Blind XPath Injection)