CVE Explorer
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
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
1
Preserved source conflicts
No provider value was silently selected as the winner.
cwe · 2 assertions
{"cweId":"CWE-643","description":"CWE-643 Improper Neutralization of Data within XPath Expressions ('XPath Injection')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:e6f4261556e166334793839b7bfad9b6e78a3010ee6e5107bd348959b4b70aa4 · sha256:abf99bd1f29586a2… · /containers/cna/problemTypes/0/descriptions/0
{"cweId":"CWE-1287","description":"CWE-1287 Improper Validation of Specified Type of Input","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:e6f4261556e166334793839b7bfad9b6e78a3010ee6e5107bd348959b4b70aa4 · sha256:abf99bd1f29586a2… · /containers/cna/problemTypes/1/descriptions/0
Affected products and versions
1 source assertion{"collectionURL":"https://cpan.org/modules","defaultStatus":"unaffected","packageName":"XML-Sig","product":"XML::Sig","programFiles":["lib/XML/Sig.pm"],"programRoutines":[{"name":"XML::Sig::verify"},{"name":"XML::Sig::_get_signed_xml"}],"repo":"https://github.com/perl-net-saml2/perl-XML-Sig","vendor":"TIMLEGGE","versions":[{"lessThan":"0.71","status":"affected","version":"0","versionType":"custom"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:e6f4261556e166334793839b7bfad9b6e78a3010ee6e5107bd348959b4b70aa4 · sha256:abf99bd1f29586a2… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":9.1,"baseSeverity":"CRITICAL","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:e6f4261556e166334793839b7bfad9b6e78a3010ee6e5107bd348959b4b70aa4 · sha256:abf99bd1f29586a2… · /containers/adp/0/metrics/0/cvssV3_1
CWE assertions
2 source assertions{"cweId":"CWE-643","description":"CWE-643 Improper Neutralization of Data within XPath Expressions ('XPath Injection')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:e6f4261556e166334793839b7bfad9b6e78a3010ee6e5107bd348959b4b70aa4 · sha256:abf99bd1f29586a2… · /containers/cna/problemTypes/0/descriptions/0
{"cweId":"CWE-1287","description":"CWE-1287 Improper Validation of Specified Type of Input","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:e6f4261556e166334793839b7bfad9b6e78a3010ee6e5107bd348959b4b70aa4 · sha256:abf99bd1f29586a2… · /containers/cna/problemTypes/1/descriptions/0
Source references
3 source assertions{"tags":["patch"],"url":"https://github.com/perl-net-saml2/perl-XML-Sig/commit/69ad2b421118fadd33d57f50b110b8d161e8fef5.patch"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:e6f4261556e166334793839b7bfad9b6e78a3010ee6e5107bd348959b4b70aa4 · sha256:abf99bd1f29586a2… · /containers/cna/references/0
{"tags":["patch"],"url":"https://github.com/perl-net-saml2/perl-XML-Sig/commit/a85aad21aa767ac1c158bbfc19447683941ab376.patch"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:e6f4261556e166334793839b7bfad9b6e78a3010ee6e5107bd348959b4b70aa4 · sha256:abf99bd1f29586a2… · /containers/cna/references/1
{"tags":["release-notes"],"url":"https://metacpan.org/release/TIMLEGGE/XML-Sig-0.71/changes"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:e6f4261556e166334793839b7bfad9b6e78a3010ee6e5107bd348959b4b70aa4 · sha256:abf99bd1f29586a2… · /containers/cna/references/2
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.