Skip to content
Insights · weakness

CWE-91: XML Injection

Sources read 2026-11-25. MITRE's own page · All weakness notes · Added to CISA's list in the last seven days

What it is

From MITRE's CWE catalogue

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.

MITRE classes it as a base-level weakness.

What it lets an attacker do

From MITRE's CWE catalogue

  • Execute Unauthorized Code or Commands, Read Application Data, Modify Application Data (affects: confidentiality, integrity, availability)

On CISA's exploited list

From CISA's exploited list

1 of the 120 entries CISA added from 2026-08-29 to 2026-11-26 name CWE-91, against 0 of 78 in the 90 days before. Over the whole catalogue 2 entries name it. The counts are small, so read them as a rough order, not a rate.

CISA's list is not every flaw that is exploited: it holds the ones CISA has evidence of, listed on the day it added them.

  • CVE-2026-133303, Mitel MiCollab, added 2026-11-25
  • CVE-2020-0646, Microsoft .NET Framework, added 2021-11-03

How MITRE says to find it

From MITRE's CWE catalogue

  • Automated Static Analysis

What MITRE suggests

From MITRE's CWE catalogue

These are MITRE's suggestions, quoted as it gives them. They are not a complete fix and not a substitute for reading the vendor's advisory for the product you run.

  • Implementation: Assume all input is malicious. Use an "accept known good" input validation strategy, i.e., use a list of acceptable inputs that strictly conform to specifications. Reject any input that does not strictly conform to specifications, or transform it into something that does.

Attack patterns MITRE links to it

From MITRE's CWE catalogue

Start with one piece of work.

Give us one piece of work and read access to one system. We map it and come back with what we found, what we would build and what it would take — before any commitment. You decide using our output, not our pitch.

Talk to us