Skip to content
OpenAdvisories
Medium · 6.5 CVE-2026-34401 EUVD-2026-17666

XML Notepad: XML External Entity (XXE) Injection via Unsafe XmlTextReader in XML Diff and Schema Loading

Published Mar 31, 2026 · Updated Apr 1, 2026 · 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.

Affected products

VendorProductAffectedFixed
microsoft XmlNotepad < 2.9.0.21 —

References