# CVE-2026-34401: XML Notepad: XML External Entity (XXE) Injection via Unsafe XmlTextReader in XML Diff and Schema Loading

- Severity: Medium 6.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N`
- 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): 1.17%, higher than 68% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-03-31T21:05:50.647Z
- Modified: 2026-07-24T21:10:00.143Z
- Weaknesses: CWE-611
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

XML Notepad is a Windows program that provides a simple intuitive User Interface for browsing and editing XML documents. Prior to version 2.9.0.21, XML Notepad does not disable DTD processing by default which means external entities are resolved automatically. There is a well known attack related to malicious DTD files where an attacker to craft a malicious XML file that loads a DTD that causes XML Notepad to make outbound HTTP/SMB requests, potentially leaking local file contents or capturing the victim's NTLM credentials. This issue has been patched in version 2.9.0.21.

(As written by CVE List.)

## Affected

- microsoft XmlNotepad: < 2.9.0.21
- microsoft xml_notepad: before 2.9.0.21

## References

- <https://github.com/microsoft/XmlNotepad/security/advisories/GHSA-5j32-486h-42ch> (exploit, mitigation, vendor-advisory)
- <https://github.com/microsoft/XmlNotepad/commit/3665603d61ba10b7827a3724e854748cb780140c> (patch)
- <https://github.com/microsoft/XmlNotepad/commit/c03ab2311ac6960452eb1ab49098768f851dcc53> (patch)
- <https://github.com/microsoft/XmlNotepad/releases/tag/2.9.0.21> (product, release-notes)

## Sources

- CVE List: [CVE-2026-34401](https://www.cve.org/CVERecord?id=CVE-2026-34401), CVE Terms of Use, modified 2026-04-01
- NVD: [CVE-2026-34401](https://nvd.nist.gov/vuln/detail/CVE-2026-34401), Public domain, modified 2026-07-24

---

Page: https://cve.day/CVE-2026-34401 · Whole record: https://cve.day/CVE-2026-34401.json · Rebuilt by cve.day 2026-11-25T22:59:17.640Z
