XML injection in xmldom - CVE-2026-41674
Published: April 20, 2026
Vulnerability details
The vulnerability allows a remote attacker to inject arbitrary XML markup into serialized output.
The vulnerability exists due to xml injection in DocumentType serialization when serializing attacker-controlled DocumentType fields. A remote attacker can supply crafted publicId, systemId, or internalSubset values to inject arbitrary XML markup into serialized output.
The issue is reachable through programmatic createDocumentType calls or direct writes to DocumentType properties, while the parse path is described as safe.