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: 15 October 2026 20:36 UTC
OWASP Top 10 for Web (2025)
This weakness contributes to A05:2025 Injection.
Control responseHuman-reviewed
Answering this weakness across the control lifecycle, from our framework cross-walks.
—
—
V1.2.4V1.2.7V2.2.1V4.3.1
NIST 800-53 r5 controls PROPOSED for this weakness (0)AI-assisted
These are model PROPOSALS, not graded mappings. They come
from controls_to_cwe_proposals, which carries no grade field at
all; across the CWE pages 1,540 of 1,722 such associations (89%) have never
been graded by anything. The heading said “address” until
2026-09-29, which asserted a relationship the data does not carry.
Graded cross-walks are on the framework map, not here.
| 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-2026-44962 UPD | 7.0 | 9.9 | 0.0055 | 2026-05-29 |
CVE-2026-9390 | 6.9 | 9.1 | 0.0050 | 2026-08-03 |
CVE-2026-24343 | 6.7 | 8.8 | 0.0080 | 2026-02-10 |
CVE-2024-39565 UPD | 6.6 | 8.8 | 0.0052 | 2024-07-10 |
CVE-2020-25162 UPD | 6.2 | 7.5 | 0.0188 | 2022-04-14 |
CVE-2023-36429 UPD | 5.5 | 6.5 | 0.0216 | 2023-10-10 |
CVE-2023-36433 UPD | 5.5 | 6.5 | 0.0216 | 2023-10-10 |
CVE-2023-24922 UPD | 5.4 | 6.5 | 0.0146 | 2023-03-14 |
CVE-2026-40699 UPD | 5.1 | 6.5 | 0.0038 | 2026-05-13 |
CVE-2026-11864 | 4.9 | 6.5 | 0.0022 | 2026-09-15 |
CVE-2025-11844 UPD | 4.3 | 5.4 | 0.0028 | 2025-10-22 |
CVE-2026-53582 | 4.3 | 7.1 | 0.0000 | 2026-10-15 |
CVE-2025-20218 UPD | 4.0 | 4.9 | 0.0045 | 2025-08-14 |
CVE-2024-2645 UPD | 3.8 | 4.3 | 0.0073 | 2024-03-19 |
CVE-2024-2648 UPD | 3.8 | 4.3 | 0.0073 | 2024-03-19 |
CVE-2022-43840 UPD | 3.6 | 4.3 | 0.0031 | 2025-04-14 |
CVE-2026-58395 | 2.8 | 4.3 | 0.0000 | 2026-10-15 |