Cyber Posture

CWE · MITRE source

CWE-643Improper Neutralization of Data within XPath Expressions ('XPath Injection')

Abstraction: Base · CVEs in our corpus: 11

The product uses external input to dynamically construct an XPath expression used to retrieve data from an XML database, but it does not neutralize or incorrectly neutralizes that input. This allows an attacker to control the structure of the query.

The net effect is that the attacker will have control over the information selected from the XML database and may use that ability to control application flow, modify logic, retrieve unauthorized data, or bypass important checks (e.g. authentication).

Last updated: 09 May 2026 03:25 UTC

NIST 800-53 r5 controls that address this weakness (0)AI

Control Title Family Why it addresses this CWE
No NIST controls proposed yet.

Top CVEs of this weakness type, ranked by Risk Priority

CVE Risk CVSS EPSS Published
CVE-2023-249221.96.50.10202023-03-14
CVE-2024-395651.88.80.00642024-07-10
CVE-2026-243431.88.80.00032026-02-10
CVE-2020-251621.57.50.00722022-04-14
CVE-2023-364291.46.50.01342023-10-10
CVE-2023-364331.46.50.01862023-10-10
CVE-2025-118441.15.40.00052025-10-22
CVE-2025-202181.04.90.00062025-08-14
CVE-2024-26450.94.30.00072024-03-19
CVE-2024-26480.94.30.00072024-03-19
CVE-2022-438400.94.30.00242025-04-14