CVE-2026-9390
XML::Sig versions before 0.71 for Perl allow XPath injection in ID lookup. verify() and _get_signed_xml() in lib/XML/Sig.pm build XPath expressions by concatenating the SignedInfo/Reference/@URI value read from the document being verified. The value is neither escaped nor checked against the NCName grammar that XML requires of an ID, so a URI containing a single quote closes the string literal in the generated expression and appends arbitrary XPath operators. A crafted URI can make the lookup match elements the reference does not name, or every element in the document, so which node is selected for digest verification is decided by the injected expression rather than by the reference.
Scoring
- Severity
- CRITICAL
- CVSS base score
- 9.1
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
- EPSS probability
- 0.29%
- CWE
- CWE-643, CWE-1287
- Published
- 2026-08-03
- Last modified
- 2026-08-03
Affected products
- TIMLEGGE XML::Sig
Weakness type
Related vulnerabilities
- CVE-2026-44962 — Plesk contains an XPath injection vulnerability in the APS Application Catalog search...
- CVE-2026-40699 — BIG-IP Configuration utility vulnerability
- CVE-2026-24343 — Apache HertzBeat: Uncontrolled Resource Consumption via Crafted XPath Expressions
- CVE-2025-11844 — XPath Injection in Hugging Face Smolagents search_item_ctrl_f Function
- CVE-2025-20218 — Cisco Secure Firepower Management Center Software XPATH Injection Vulnerability
- CVE-2022-43840 — IBM Aspera Console XPath injection
- CVE-2024-39565 — Junos OS: J-Web: An unauthenticated, network-based attacker can perform XPATH injection attack against a device.
- CVE-2024-2648 — Netentsec NS-ASG Application Security Gateway naccheck.php xpath injection