XPath Injection Vulnerability in XML::Sig for Perl
CVE-2026-9390

9.1CRITICAL

Key Information:

Vendor

Timlegge

Status
Vendor
CVE Published:
3 August 2026

What is CVE-2026-9390?

The XML::Sig library for Perl prior to version 0.71 is susceptible to XPath injection due to insufficient validation of URI inputs. The vulnerable functions, verify() and _get_signed_xml(), construct XPath queries using SignedInfo/Reference/@URI values without proper escaping or compliance checks against XML's NCName grammar. An attacker could exploit this vulnerability by crafting a malicious URI, allowing arbitrary XPath expressions to be executed. This may lead to unauthorized access to XML elements, undermining the integrity of the XML signature verification process.

Affected Version(s)

XML::Sig 0 < 0.71

References

CVSS V3.1

Score:
9.1
Severity:
CRITICAL
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.