CVE-2026-9390
CVE-2026-9390 is a critical-severity vulnerability in Xml with a CVSS 3.x base score of 9.1. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-643.
Key facts
- Severity: Critical (CVSS 3.x base score 9.1)
- EPSS exploit prediction: 0% (21st percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-643
- Affected product: Xml
- Published:
- Last modified:
Description
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.
Frequently asked questions
- What is 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.
- How severe is CVE-2026-9390?
- CVE-2026-9390 has a CVSS 3.x base score of 9.1, rated critical severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability none.
- Is CVE-2026-9390 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (21st percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2026-9390?
- CVE-2026-9390 affects Xml. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2026-9390?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its critical severity, prioritise patching exposed systems.
- When was CVE-2026-9390 published?
- CVE-2026-9390 was published on 2026-08-03 and last updated on 2026-08-05.
References
- https://github.com/perl-net-saml2/perl-XML-Sig/commit/69ad2b421118fadd33d57f50b110b8d161e8fef5.patch
- https://github.com/perl-net-saml2/perl-XML-Sig/commit/a85aad21aa767ac1c158bbfc19447683941ab376.patch
- https://metacpan.org/release/TIMLEGGE/XML-Sig-0.71/changes
Affected products (1)
- cpe:2.3:a:xml\:\:sig_project:xml\:\:sig:*:*:*:*:*:perl:*:*
Other CWE-643 vulnerabilities
- CVE-2026-44962 — Critical (CVSS 9.9): Plesk contains an XPath injection vulnerability in the APS Application Catalog search functionality, where…
- CVE-2026-24343 — High (CVSS 8.8): Improper Neutralization of Data within XPath Expressions ('XPath Injection') vulnerability in Apache HertzBeat. This…
- CVE-2024-39565 — High (CVSS 8.8): An Improper Neutralization of Data within XPath Expressions ('XPath Injection') vulnerability in J-Web shipped with…
- CVE-2020-25162 — High (CVSS 7.5): A XPath injection vulnerability in the B. Braun Melsungen AG SpaceCom Version L81/U61 and earlier, and the Data module…
- CVE-2026-40699 — Medium (CVSS 6.5): A vulnerability exists in the undisclosed pages in the Configuration utility that may allow a low-privileged…
- CVE-2023-36433 — Medium (CVSS 6.5): Microsoft Dynamics 365 (On-Premises) Information Disclosure Vulnerability