# CVE-2026-15037: XML injection vulnerability in QDom comment, CDATA and processing-instruction serialization

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** LOW 2.9
- **CVSS:** 2.9 (v4.0, CNA) `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`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: Present; Privileges required: None; User interaction: None; Confidentiality impact: None; Integrity impact: Low; Availability impact: None; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None; Exploit maturity: Proof of concept
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.44% (percentile 30, 2026-11-26)
- **CWE:** CWE-91
- **Published:** 2026-07-23T12:33:11.068Z
- **Modified:** 2026-07-23T15:25:49.050Z

## Who should check

- Anyone running Qt \>= 4.0.0, \< 6.12.0

## 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.

## Affected and fixed versions

- Qt: \>= 4.0.0, \< 6.12.0 (cvelist)

## Mitigation

- Upgrade Qt to 6.12.0 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.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-15037. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-15037.md
Affected: Qt >= 4.0.0, < 6.12.0
Fixed in: Qt 6.12.0

Steps:
1. Search this machine and project for Qt: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-15037 being exploited?

There is no confirmed exploitation: CVE-2026-15037 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.44% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-15037?

Low: CVSS 2.9 (v4.0, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2026-15037?

Qt \>= 4.0.0, \< 6.12.0.

### Is there a fix for CVE-2026-15037?

Yes. Fixed in Qt 6.12.0. Upgrade Qt to 6.12.0 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.

### How do I check if I'm affected by CVE-2026-15037?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://codereview.qt-project.org/c/qt/qtbase/+/748323>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-15037>

HTML: <https://flawdb.com/CVE-2026-15037> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-15037>
