# CVE-2025-29775: xml-crypto Vulnerable to XML Signature Verification Bypass via DigestValue Comment

- Severity: Critical 9.3 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 10.1%, higher than 95% of CVEs (2026-12-01)
- Published: 2025-03-14T17:11:05.590Z
- Modified: 2026-09-10T03:50:23.380Z
- Also known as: GHSA-x3m8-899r-f7c3
- Weaknesses: CWE-347
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- node-saml xml-crypto: >= 4.0.0, < 6.0.1; >= 3.0.0, < 3.2.1; < 2.1.6
- xml-crypto (npm): from 4.0.0 before 6.0.1; from 3.0.0 before 3.2.1; before 2.1.6

## Every score

- GitHub_M: CVSS:4.0 9.3 Critical `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- GitHub: CVSS:4.0 Critical `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`

## References

- <https://github.com/node-saml/xml-crypto/security/advisories/GHSA-x3m8-899r-f7c3> (web)
- <https://github.com/node-saml/xml-crypto/commit/28f92218ecbb8dcbd238afa4efbbd50302aa9aed> (web)
- <https://github.com/node-saml/xml-crypto/commit/886dc63a8b4bb5ae1db9f41c7854b171eb83aa98> (web)
- <https://github.com/node-saml/xml-crypto/commit/8ac6118ee7978b46aa56b82cbcaa5fca58c93a07> (web)
- <https://github.com/node-saml/xml-crypto/releases/tag/v2.1.6> (web)
- <https://github.com/node-saml/xml-crypto/releases/tag/v3.2.1> (web)
- <https://github.com/node-saml/xml-crypto/releases/tag/v6.0.1> (web)
- <https://workos.com/blog/samlstorm> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-29775> (advisory)
- <https://github.com/node-saml/xml-crypto> (package)

## Sources

- CVE List: [CVE-2025-29775](https://www.cve.org/CVERecord?id=CVE-2025-29775), CVE Terms of Use, modified 2025-03-15
- GitHub Advisory Database: [GHSA-x3m8-899r-f7c3](https://github.com/advisories/GHSA-x3m8-899r-f7c3), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2025-29775](https://nvd.nist.gov/vuln/detail/CVE-2025-29775), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-29775 · Whole record: https://cve.day/CVE-2025-29775.json · Rebuilt by cve.day 2026-11-25T22:58:55.268Z
