BaseDraft

CWE-91XML Injection (aka Blind XPath Injection)

Category: injection

Description

The 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. Within XML, special elements could include reserved words or characters such as "<", ">", """, and "&", which could then be used to add new data or modify XML syntax.

Common consequences· 1

  • Confidentiality / Integrity / Availability — Execute Unauthorized Code or Commands, Read Application Data, Modify Application Data

Potential mitigations· 1

  • [Implementation]

Related CAPEC attack patterns· 2

CAPEC-250CAPEC-83

References

  1. https://cwe.mitre.org/data/definitions/91.html

Exploits (incoming)2

TypeTargetConfidenceTier
AttackPatternXML Injectioncapec-250100%live
AttackPatternXPath Injectioncapec-83100%live

Compliance frameworks addressing this (incoming)1

TypeTargetConfidenceTier
ComplianceControlowasp_top10-a03100%live

(incoming)7

TypeTargetConfidenceTier
VulnerabilityCVE-2025-12921cve-2025-129210%live
VulnerabilityCVE-2025-24404cve-2025-244040%live
VulnerabilityCVE-2025-25589cve-2025-255890%live
VulnerabilityCVE-2025-66034cve-2025-660340%live
VulnerabilityCVE-2026-28770cve-2026-287700%live
VulnerabilityCVE-2026-40165cve-2026-401650%live
KEVEntryMicrosoft .NET Framework Remote Code Execution Vulnerabilitykev-cve-2020-06460%live

Related by meaning· 6

Nearest entities by semantic similarity across the cs-graph corpus.

CWE
Improper Neutralization of Data within XPath Expressions ('XPath Injection')
CWE
Improper Neutralization of Data within XQuery Expressions ('XQuery Injection')
CWE
Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS)
CWE
Improper Handling of Invalid Use of Special Elements
CWE
Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
CWE
Improper Neutralization of Trailing Special Elements
Sourced from MITRE CWE 4.20. Curated for EU compliance use cases by Adam Lundqvist, Founder at SQUR.