CVE-2025-29774 Details
Description
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.
A vulnerability in the xml-crypto library for Node.js allows attackers to bypass authentication and authorization checks in systems that use this library to verify signed XML, such as SAML responses. The issue is present in xml-crypto versions through 6.0.0. The vulnerability arises because the library's signature verification process can be manipulated to accept forged SAML assertions, potentially leading to unauthorized access and privilege escalation.
Users should upgrade to xml-crypto versions 6.0.1, 3.2.1, or 2.1.6, all of which contain the necessary fix. After updating, it's recommended to review SAML response handling to ensure that the application correctly validates the structure and integrity of the received assertions.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Mar 14, 2025CISA-ADP
Assessed Mar 14, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://workos.com/blog/samlstorm | CVE | BundleMedia CoverageRemedy |
| https://github.com/node-saml/xml-crypto/commit/28f92218ecbb8dcbd238afa4efbbd50302aa9aed | [email protected] | Source CodeVendor |
| https://github.com/node-saml/xml-crypto/commit/886dc63a8b4bb5ae1db9f41c7854b171eb83aa98 | [email protected] | Source CodeVendor |
| https://github.com/node-saml/xml-crypto/commit/8ac6118ee7978b46aa56b82cbcaa5fca58c93a07 | [email protected] | Source CodeVendor |
| https://github.com/node-saml/xml-crypto/releases/tag/v2.1.6 | [email protected] | Release NotesVendor |
| https://github.com/node-saml/xml-crypto/releases/tag/v3.2.1 | [email protected] | Release NotesVendor |
| https://github.com/node-saml/xml-crypto/releases/tag/v6.0.1 | [email protected] | Release NotesVendor |
| https://github.com/node-saml/xml-crypto/security/advisories/GHSA-9p8x-f768-wp2g | [email protected] | AdvisoryRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-347 | Improper Verification of Cryptographic Signature | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| node-saml xml-crypto | <= 6.0.0 (semver) <= 3.2.0 (semver) <= 2.1.5 (semver) |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Mar 15, 2025 | CVE Modified | CVE |
| Mar 14, 2025 | New CVE Received | [email protected] |
Volerion