# CVE-2025-30348: 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 r…

- Severity: Medium 5.8 (CVSS:3.1, scored by mitre) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.39%, higher than 34% of CVEs (2026-12-01)
- Published: 2025-03-21T00:00:00.000Z
- Modified: 2026-06-17T09:08:33.430Z
- Weaknesses: CWE-407
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: mitre

## Description

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

(As written by CVE List.)

## Affected

- Qt Qt: before 5.15.19; from 6.0.0 before 6.5.9; from 6.6.0 before 6.8.0

## Every score

- mitre: CVSS:3.1 5.8 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:L`
- NVD: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`

## References

- <https://codereview.qt-project.org/c/qt/qtbase/+/581442> (patch)

## Sources

- CVE List: [CVE-2025-30348](https://www.cve.org/CVERecord?id=CVE-2025-30348), CVE Terms of Use, modified 2025-03-21
- NVD: [CVE-2025-30348](https://nvd.nist.gov/vuln/detail/CVE-2025-30348), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-30348 · Whole record: https://cve.day/CVE-2025-30348.json · Rebuilt by cve.day 2026-11-25T22:58:55.401Z
