CWE-91: XML Injection (aka Blind XPath Injection)
low-riskThe product does not properly neutralize special elements that are used in XML, allowing attackers to modify the syntax, content, or commands of the XML before it is processed by an end system.
Abstraction: Base
Common Consequences
Confidentiality
→
Execute Unauthorized Code or Commands
Detection Methods
Automated Static Analysis
Automated static analysis, commonly referred to as Static Application Security Testing (SAST), can find some instances of this weakness by analyzing source code (or binary/compiled code) without having to execute it. Typically, this is done by building a model of data flow and control flow, then searching for potentially-vulnerable patterns that connect "sources" (origins of input) with "sinks" (destinations where the data interacts with external components, a lower layer such as the OS, etc.)
Real-World Examples (10)
| CVE | CVSS | EPSS | KEV |
|---|---|---|---|
| CVE-2020-0646 | 9.8 | 93.9% | Y |
| CVE-2020-0646 | 9.8 | 93.9% | Y |
| CVE-2023-43187 | 9.8 | 90.1% | — |
| CVE-2023-46214 | 8.0 | 87.8% | — |
| CVE-2023-46214 | 8.0 | 87.8% | — |
| CVE-2023-27253 | 8.8 | 77.7% | — |
| CVE-2022-25356 | 5.3 | 72.9% | — |
| CVE-2022-25356 | 5.3 | 72.9% | — |
| CVE-2020-29599 | 7.8 | 68.8% | — |
| CVE-2022-34253 | 7.2 | 37.2% | — |
19
/ 100
low-risk
Active Threat
18/50 · Low
Exploit Availability
1/50 · Minimal