JLSEC-2026-2034: Improper output neutralization (XML injection) in QDom comment, CDATA, and processing-instruction...
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 Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 6.12
Event History
Child vulnerabilities
Contains the following vulnerabilities.
Frequently Asked Questions
Which applications are exposed to this issue?
Applications using Qt XML that serialize untrusted text into QDom comment, CDATA, or processing-instruction nodes are exposed. The affected Julia packages listed are julia/qt5base_jll, julia/qt6base_jll, and julia/qt_jll.
What does an attacker need to exploit it?
An attacker needs a way to supply text that the application later serializes into an affected QDom node type. No authentication or user interaction is required according to the supplied vector, but exploitation depends on the application processing attacker-controlled text in this way.
Are default Qt XML settings affected?
Yes. The terminators are not escaped under the default InvalidDataPolicy setting, AcceptInvalidChars.
What can be done before updating?
Do not serialize untrusted text into QDom comment, CDATA, or processing-instruction nodes. If such serialization is necessary, ensure untrusted input cannot contain node terminators or otherwise inject XML markup.
How can I determine whether a deployment needs remediation?
Check whether the deployment uses affected Qt XML versions from 4.0.0 through 6.11 and whether application code serializes untrusted values through QDom comment, CDATA, or processing-instruction nodes. Qt 6.12 contains the stated fix.