CWE · MITRE source
CWE-643Improper Neutralization of Data within XPath Expressions ('XPath Injection')
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-24922 | 1.9 | 6.5 | 0.1020 | 2023-03-14 |
CVE-2024-39565 | 1.8 | 8.8 | 0.0064 | 2024-07-10 |
CVE-2026-24343 | 1.8 | 8.8 | 0.0003 | 2026-02-10 |
CVE-2020-25162 | 1.5 | 7.5 | 0.0072 | 2022-04-14 |
CVE-2023-36429 | 1.4 | 6.5 | 0.0134 | 2023-10-10 |
CVE-2023-36433 | 1.4 | 6.5 | 0.0186 | 2023-10-10 |
CVE-2025-11844 | 1.1 | 5.4 | 0.0005 | 2025-10-22 |
CVE-2025-20218 | 1.0 | 4.9 | 0.0006 | 2025-08-14 |
CVE-2024-2645 | 0.9 | 4.3 | 0.0007 | 2024-03-19 |
CVE-2024-2648 | 0.9 | 4.3 | 0.0007 | 2024-03-19 |
CVE-2022-43840 | 0.9 | 4.3 | 0.0024 | 2025-04-14 |