CVE-2026-9390

Source
https://cve.org/CVERecord?id=CVE-2026-9390
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-9390.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-9390
Published
2026-08-03T13:09:40.158Z
Modified
2026-08-07T03:45:59.562373913Z
Severity
  • 9.1 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N CVSS Calculator
Summary
XML::Sig versions before 0.71 for Perl allow XPath injection in ID lookup
Details

XML::Sig versions before 0.71 for Perl allow XPath injection in ID lookup.

verify() and getsigned_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.

Database specific
{
    "cna_assigner": "CPANSec",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/9xxx/CVE-2026-9390.json",
    "cwe_ids": [
        "CWE-1287",
        "CWE-643"
    ]
}
References

Affected packages

Git / github.com/perl-net-saml2/perl-xml-sig

Affected ranges

Type
GIT
Repo
https://github.com/perl-net-saml2/perl-xml-sig
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Fixed
Database specific
{
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "0.71"
        }
    ],
    "cpe": "cpe:2.3:a:xml\\:\\:sig_project:xml\\:\\:sig:*:*:*:*:*:perl:*:*",
    "source": [
        "CPE_RANGE",
        "REFERENCES"
    ]
}

Affected versions

0.*
0.1
0.2
0.2.1
0.21
0.22
0.23
0.30-TRIAL
0.31-TRIAL
0.32
0.33
0.35-TRIAL
0.36
0.37-TRIAL
0.38
0.39
0.40-TRIAL
0.41-TRIAL
0.42-TRIAL
0.43
0.44-TRIAL
0.45
0.46-TRIAL
0.47
0.48-TRIAL
0.49
0.50
0.51
0.52
0.53
0.54
0.55
0.56
0.57
0.58
0.59
0.60
0.61
0.62
0.63
0.64
0.65
0.66
0.67
0.68
0.69
0.70
v0.*
v0.40-TRIAL

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-9390.json"