CVE-2025-29775 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 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 allowing authentication and authorization bypass has been identified in the xml-crypto library, which is used for XML digital signature and encryption in Node.js. This issue affects versions 6.0.0 and prior, as well as the 2.x and 3.x series. The vulnerability arises because the library does not properly validate SAML assertions in a way that prevents tampering. An attacker could exploit this to modify a signed XML message, such as a SAML response, in a way that still passes signature verification. This could lead to unauthorized access to user accounts, including administrative privileges, in applications that rely on xml-crypto for SAML authentication.
Users should upgrade to xml-crypto versions 6.0.1, 3.2.1, or 2.1.6, all of which include patches for this vulnerability.
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-x3m8-899r-f7c3 | [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) |
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