Read the docs
TI-2025-21186 Aliases CVE-2025-29774GHSA-9p8x-f768-wp2g

xml-crypto Vulnerable to XML Signature Verification Bypass via Multiple SignedInfo References

Priority HIGH 81CWE-347Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
Security bypass
Confidentiality · integrity · availability
High · High · High
Fix status
Partial Red Hat: 2 fixed, 1 without a fix

Attack profile from CVSS 4.0 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-347.

Summary

xml-crypto is an XML digital signature and encryption library for Node.js. An attacker may be able to exploit a vulnerability in versions prior to 6.0.1, 3.2.1, and 2.1.6 to bypass authentication or authorization mechanisms in systems that rely on xml-crypto for verifying signed XML documents. The vulnerability allows an attacker to modify a valid signed XML message in a way that still passes signature verification checks. For example, it could be used to alter critical identity or access control attributes, enabling an attacker with a valid account to escalate privileges or impersonate another user. Users of versions 6.0.0 and prior should upgrade to version 6.0.1 to receive a fix. Those who are still using v2.x or v3.x should upgrade to patched versions 2.1.6 or 3.2.1, respectively.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.09103 95th percentileScored 2026-11-07
Fix Partial xml-crypto (node-saml): 6.0.1, 3.2.1, 2.1.6xml-crypto (npm): 6.0.1, 3.2.1, 2.1.6Red Hat: 2 advisoriesRed Hat: 2 fixed, 1 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
Yes
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
node-samlxml-crypto4.0.0 to before 6.0.1; 3.0.0 to before 3.2.1; before 2.1.66.0.1, 3.2.1, 2.1.6Patch availableCNA
—xml-crypto (npm)4.0.0 to before 6.0.16.0.1Patch availableGHSA-9p8x-f768-wp2g
—xml-crypto (npm)3.0.0 to before 3.2.13.2.1Patch availableGHSA-9p8x-f768-wp2g
—xml-crypto (npm)before 2.1.62.1.6Patch availableGHSA-9p8x-f768-wp2g
  • xml-crypto Vendornode-saml Affected 4.0.0 to before 6.0.1; 3.0.0 to before 3.2.1; before 2.1.6 Fixed in 6.0.1, 3.2.1, 2.1.6 Patch available CNA
  • xml-crypto (npm) Vendor— Affected 4.0.0 to before 6.0.1 Fixed in 6.0.1 Patch available GHSA-9p8x-f768-wp2g
  • xml-crypto (npm) Vendor— Affected 3.0.0 to before 3.2.1 Fixed in 3.2.1 Patch available GHSA-9p8x-f768-wp2g
  • xml-crypto (npm) Vendor— Affected before 2.1.6 Fixed in 2.1.6 Patch available GHSA-9p8x-f768-wp2g

Remediation

  • Fix · CNA xml-crypto (node-saml) Fixed in 6.0.1, 3.2.1, 2.1.6
  • Fix · GHSA-9p8x-f768-wp2g xml-crypto (npm) Fixed in 6.0.1 Advisory →
  • Fix · GHSA-9p8x-f768-wp2g xml-crypto (npm) Fixed in 3.2.1 Advisory →
  • Fix · GHSA-9p8x-f768-wp2g xml-crypto (npm) Fixed in 2.1.6 Advisory →

Red Hat 2 advisories

  • RHSA-2025:3595 Released 2025-04-03 · Red Hat rating Important
    Red Hat Developer Hub 1.4.3 release.
    • Red Hat Developer Hub (RHDH) 1.4 registry.redhat.io/rhdh/rhdh-hub-rhel9
  • RHSA-2025:3374 Released 2025-03-27 · Red Hat rating Important
    Red Hat Developer Hub 1.5.1 release.
    • Red Hat Developer Hub 1.5 registry.redhat.io/rhdh/rhdh-hub-rhel9, registry.redhat.io/rhdh/rhdh-rhel9-operator

Vendor assessments

Red Hat

Red Hat rating: Important. Red Hat's page for this CVE →

ProductStatusPlan or fix
OpenShift ServerlessAffectedNo fix planned: Will not fix
Red Hat Developer Hub (RHDH) 1.4Fixed RHSA-2025:3595
Red Hat Developer Hub 1.5Fixed RHSA-2025:3374
Not affected: 2 products
  • Red Hat Developer Hub (RHDH) 1.4
  • Red Hat Developer Hub 1.5

Timeline

  1. 2026-10-02 Threatist record created from CVE-2025-29774
  2. 2026-10-03 Alias added: GHSA-9p8x-f768-wp2g

References

  • TI-2024-21829 XML signature verification bypass due improper verification of signature / signature spoofing CVSS 3.1CRITICAL 10.0
  • TI-2025-21187 xml-crypto Vulnerable to XML Signature Verification Bypass via DigestValue Comment CVSS 4.0CRITICAL 9.3
  • TI-2025-34225 Node-SAML Contains SAML Signature Verification Vulnerability CVSS 3.1CRITICAL 10.0
  • TI-2025-34181 Node-SAML SAML Authentication Bypass CVSS 4.0CRITICAL 9.3

Sources