Remote code execution via unescaped XOML attribute
Published Jan 14, 2020 · Updated Oct 21, 2025
Code injection in Microsoft .NET Framework allows remote attackers to execute arbitrary code through crafted XOML workflow markup. During XOML compilation, the workflow generator inserts the CallExternalMethodActivity InterfaceType attribute into temporary C# source without restricting metacharacters, allowing the attribute to escape its assignment. A reachable workflow-compilation endpoint and crafted XOML are required; injected code runs with the hosting process's rights and can take control of the affected system.
Summary
What happened
Code injection in Microsoft .NET Framework allows remote attackers to execute arbitrary code through crafted XOML workflow markup. During XOML compilation, the workflow generator inserts the CallExternalMethodActivity InterfaceType attribute into temporary C# source without restricting metacharacters, allowing the attribute to escape its assignment. A reachable workflow-compilation endpoint and crafted XOML are required; injected code runs with the hosting process's rights and can take control of the affected system.
The record
- CVE
- CVE-2020-0646
- Published
- Jan 14, 2020
- Updated
- Oct 21, 2025
- Vendor
- Microsoft
- Product
- Microsoft .NET Framework 4.6
- Classifications
- CWE-91, T1190
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Jan 14, 2020CVE publishedPublication date reported by the CVE source.
- Oct 21, 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=Windows Server 2008 for 32-bit Systems Service Pack 2
- Affected versionversion=Windows Server 2008 for x64-based Systems Service Pack 2
What conditions does exploitation require?
What is affected?
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.
Weakness, pattern, technique
Public exploit references
- SharePoint Workflows XOML Injection Metasploit modulefunctional · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Reported exploitation
- CISA Known Exploited Vulnerabilities listingknown exploited catalog
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