CVE-2025-29775
xml-crypto: xml-crypto Vulnerable to XML Signature Verification Bypass via DigestValue Comment
Overview
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.
Source: OX vulnerability database
Severity
9.1 · CRITICAL
CVSS 3.1 base score, scored by redhat.
- 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
Weakness: CWE-347
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| npm | xml-crypto | >=4.0.0, <6.0.1>=3.0.0, <3.2.1<2.1.6 | 6.0.13.2.12.1.6 |
Open a package to see all its vulnerabilities.
Operating systems · 2 fixes
chainguard 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| sqlpad | 7.5.2-r2 |
wolfi 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| sqlpad | 7.5.2-r2 |
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2025-29775
- github.com https://github.com/node-saml/xml-crypto
- github.com https://github.com/node-saml/xml-crypto/commit/28f92218ecbb8dcbd238afa4efbbd50302aa9aed
- github.com https://github.com/node-saml/xml-crypto/commit/886dc63a8b4bb5ae1db9f41c7854b171eb83aa98
- github.com https://github.com/node-saml/xml-crypto/commit/8ac6118ee7978b46aa56b82cbcaa5fca58c93a07
- github.com https://github.com/node-saml/xml-crypto/releases/tag/v2.1.6
- github.com https://github.com/node-saml/xml-crypto/releases/tag/v3.2.1
- github.com https://github.com/node-saml/xml-crypto/releases/tag/v6.0.1
- github.com https://github.com/node-saml/xml-crypto/security/advisories/GHSA-x3m8-899r-f7c3
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2025-29775
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.