encodeText in QDom in Qt before 6.8.0 has a complex algorithm involving XML string copy and inline replacement of parts of a string (with relocation of later data).
{
"license": "CC-BY-4.0",
"sources": [
{
"affected": {
"qt:qt": [
"< 5.15.19",
">= 6.0.0, < 6.5.9",
">= 6.6.0, < 6.8.0"
]
},
"database_specific": {
"status": "Analyzed"
},
"html_url": "https://nvd.nist.gov/vuln/detail/CVE-2025-30348",
"id": "CVE-2025-30348",
"imported": "2026-12-02T15:57:05.625Z",
"modified": "2026-06-17T09:08:33.430Z",
"published": "2025-03-21T07:15:37.673Z",
"url": "https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2025-30348"
},
{
"html_url": "https://github.com/advisories/GHSA-hc3c-6xqp-r265",
"id": "GHSA-hc3c-6xqp-r265",
"imported": "2026-12-02T16:00:09.303Z",
"modified": "2025-03-21T09:30:41Z",
"published": "2025-03-21T09:30:34Z",
"url": "https://api.github.com/advisories/GHSA-hc3c-6xqp-r265"
},
{
"affected": {
"Qt:Qt": [
"0 <5.15.19",
"6.0.0 <6.5.9",
"6.6.0 <6.8.0"
]
},
"html_url": "https://euvd.enisa.europa.eu/vulnerability/EUVD-2025-7261",
"id": "EUVD-2025-7261",
"imported": "2026-12-02T15:57:07.108Z",
"modified": "2025-03-21T15:51:56Z",
"published": "2025-03-21T00:00:00Z",
"url": "https://euvdservices.enisa.europa.eu/api/enisaid?id=EUVD-2025-7261"
}
]
}