Local file disclosure via XML external entities
Published Aug 9, 2022 · Updated May 29, 2025
XXE injection in Microsoft .NET and dependent Visual Studio and PowerShell releases allows remote attackers to read local files. System.Security.Cryptography.Xml.SignedXml resolves external XML entities while verifying a crafted XML signature, incorporating attacker-selected local or network resources. Exploitation requires an application to pass attacker-controlled signed XML into the vulnerable verifier; the published impact is confidentiality-only.
Summary
What happened
XXE injection in Microsoft .NET and dependent Visual Studio and PowerShell releases allows remote attackers to read local files. System.Security.Cryptography.Xml.SignedXml resolves external XML entities while verifying a crafted XML signature, incorporating attacker-selected local or network resources. Exploitation requires an application to pass attacker-controlled signed XML into the vulnerable verifier; the published impact is confidentiality-only.
The record
- CVE
- CVE-2022-34716
- Published
- Aug 9, 2022
- Updated
- May 29, 2025
- Vendor
- Microsoft
- Product
- .NET 6.0
- Classifications
- CWE-290, T1005
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Aug 9, 2022CVE publishedPublication date reported by the CVE source.
- May 29, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=6.0.0 <6.0.8
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
- .NET XML Signature Verification External Entity Injectionproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo