CVE-2025-29774
Reported by github_m · Published March 14, 2025
xml-crypto is fixed in 6.0.1, 3.2.1 and 2.1.6 (npm)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| xml-crypto | npm | 6.0.1, 3.2.1, 2.1.6 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| node-saml | xml-crypto | >= 4.0.0, < 6.0.1, >= 3.0.0, < 3.2.1, < 2.1.6 |
| npm | xml-crypto | 3.0.0, 0, 4.0.0 |
| node-saml | xml-crypto | 0, 4.0.0, 3.0.0 |
| wolfi | sqlpad | 0 |
| chainguard | sqlpad | 0 |
Timeline
- Mar 14, 2025 CVE Published
- Mar 14, 2025 PoC Published (7 in total, the first dated here)
- Mar 15, 2025 EPSS Score (30 in total, the first dated here)
- Mar 15, 2025 CVE Updated
- Mar 10, 2026 Security Advisory
- Jun 14, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-29774
vulnetix vdb fixes CVE-2025-29774
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-29774/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://github.com/node-saml/xml-crypto/security/advisories/GHSA-9p8x-f768-wp2g x_refsource_CONFIRM
- https://github.com/node-saml/xml-crypto/commit/28f92218ecbb8dcbd238afa4efbbd50302aa9aed x_refsource_MISC
- https://github.com/node-saml/xml-crypto/commit/886dc63a8b4bb5ae1db9f41c7854b171eb83aa98 x_refsource_MISC
- https://github.com/node-saml/xml-crypto/commit/8ac6118ee7978b46aa56b82cbcaa5fca58c93a07 x_refsource_MISC
- https://github.com/node-saml/xml-crypto/releases/tag/v2.1.6 x_refsource_MISC
- https://github.com/node-saml/xml-crypto/releases/tag/v3.2.1 x_refsource_MISC
- https://github.com/node-saml/xml-crypto/releases/tag/v6.0.1 x_refsource_MISC
- https://workos.com/blog/samlstorm url
- https://nvd.nist.gov/vuln/detail/CVE-2025-29774 advisory
- https://github.com/advisories/GHSA-9p8x-f768-wp2g advisory
- https://github.com/node-saml/xml-crypto url