CVE-2026-34401 XML Notepad: XML External Entity (XXE) Injection via Unsafe XmlTextReader in XML Diff and Schema Loading
MediumCVSS 6.5
EPSS 1.0%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
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.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| Microsoft xml notepad | < 2.9.0.21 | 2.9.0.21 | Fixed |
| Microsoft XmlNotepad | = < 2.9.0.21 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| Microsoft XmlNotepad | = < 2.9.0.21 | No fix listed |
| Microsoft xml notepad | < 2.9.0.21 | 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