Skip to main content
EPSS 0.3%top 78%

CVE-2026-9390: CWE-643 Improper Neutralization of Data within XPath Expressions ('XPath Injection') in TIMLEGGE XML::Sig

0
Critical
Published: 08/03/2026 (08/03/2026, 13:09:40 UTC)
Source: CVE Database V5
Vendor/Project: TIMLEGGE
Product: XML::Sig

Description

XML::Sig versions before 0.71 for Perl are vulnerable to XPath injection due to improper neutralization of data within XPath expressions. The vulnerability arises because the verify() and _get_signed_xml() functions build XPath queries by concatenating unescaped URI values from the document, allowing an attacker to inject arbitrary XPath operators. This can cause the digest verification process to select unintended XML nodes, potentially compromising the integrity verification of signed XML documents.

CVSS v3.1

Score 9.1critical

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Affected software

TIMLEGGE

XML::Sig

Affected versions
>=0 <0.71
GitHub Actionsmore threats →cve
XML-Sig
pkg:github/XML-Sig
Affected versions
>=0 <0.71

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/10/2026, 14:58:59 UTC

Technical Analysis

CVE-2026-9390 describes an XPath injection vulnerability in XML::Sig for Perl versions prior to 0.71. The functions verify() and _get_signed_xml() construct XPath expressions by directly concatenating the SignedInfo/Reference/@URI value from the XML document without escaping or validating it against the NCName grammar. An attacker can craft a URI containing a single quote to break out of the string literal in the XPath expression and append arbitrary XPath operators. This manipulation can cause the XPath query to match XML elements not intended by the reference, potentially allowing an attacker to influence which node is selected for digest verification and thus undermine the signature validation process.

Potential Impact

Successful exploitation allows an attacker to manipulate the XPath query used during XML signature verification, causing the verification process to validate unintended XML nodes. This can lead to bypassing signature integrity checks, potentially allowing tampering with signed XML data without detection. The CVSS score of 9.1 indicates a critical severity with high confidentiality and integrity impact, no privileges required, and no user interaction needed.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, users should avoid processing untrusted XML documents with vulnerable versions of XML::Sig. Consider applying input validation or escaping on the SignedInfo/Reference/@URI values before they are used in XPath expressions to mitigate injection risks.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
CPANSec
Date Reserved
2026-05-23T20:04:32.906Z
State
PUBLISHED

Threat ID: 6a7098b3bf32cb7a34a8234b

Added to database: 08/03/2026, 13:33:39 UTC

Last enriched: 08/10/2026, 14:58:59 UTC

Last updated: 09/18/2026, 00:06:01 UTC

Views: 59

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses