---
title: "CVE-2025-29775: xml-crypto Vulnerable to XML Signature Verification Bypass via DigestValue Comment"
url: https://erroneo.us/security/cve/CVE-2025-29775/
description: "CVE-2025-29775 (xml-crypto (npm)): xml-crypto is an XML digital signature and encryption library for Node.js. An attacker may be able to exploit a…"
type: vulnerability-record
section: "Security Digest"
date_published: 2025-03-14
date_modified: 2025-03-16
publisher: erroneo.us
author: erroneo.us Security Desk
cve: "CVE-2025-29775"
kev: false
cvss: 9.3
epss: 0.09586
license: All rights reserved. Quote with attribution and a link.
---

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

**Signal:** High exploit likelihood. EPSS ranks it in the top 5% of all CVEs for likely exploitation in the next 30 days. (Computed from CISA KEV, EPSS and CVSS; not an editorial verdict.)

## Should you act?

- Not in CISA KEV , but CISA’s SSVC assessment records a public proof-of-concept, so attack code exists.
- EPSS 9.6% , percentile 95: FIRST’s model estimates a 9.6% chance of exploitation activity in the next 30 days, higher than 95% of all scored CVEs (very high). EPSS is a probability, not a verdict.
- Remotely reachable with no login and no user interaction. If the vulnerable service is exposed to the internet, prioritize it.
- Only applies if your dependency tree includes xml-crypto (npm) >= 4.0.0, < 6.0.1, fixed in 6.0.1 ; xml-crypto (npm) >= 3.0.0, < 3.2.1, fixed in 3.2.1 ; xml-crypto (npm) < 2.1.6, fixed in 2.1.6 . Check your lockfile, including transitive dependencies.

## What it is

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.

## Affected packages

- npm `xml-crypto` >= 4.0.0, < 6.0.1 → fixed: 6.0.1
- npm `xml-crypto` >= 3.0.0, < 3.2.1 → fixed: 3.2.1
- npm `xml-crypto` < 2.1.6 → fixed: 2.1.6

## Affected products (CVE record)

- node-saml xml-crypto: >= 4.0.0, < 6.0.1, >= 3.0.0, < 3.2.1, < 2.1.6

## Severity

- GitHub_M CVSS 4.0: 9.3 `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: 9.3 `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`

## Exploitation

- CISA KEV: not listed (no confirmed in-the-wild exploitation known to CISA).
- CISA SSVC assessment: exploitation poc , automatable yes , technical impact total .
- FIRST EPSS (model of 2026-10-21): 9.59% probability of exploitation activity in the next 30 days; percentile 95.

## Sources

- [GitHub Advisory GHSA-x3m8-899r-f7c3](https://github.com/advisories/GHSA-x3m8-899r-f7c3)
- [CVE.org record CVE-2025-29775](https://www.cve.org/CVERecord?id=CVE-2025-29775)
- [NVD entry CVE-2025-29775](https://nvd.nist.gov/vuln/detail/CVE-2025-29775)
- [github.com](https://github.com/node-saml/xml-crypto/security/advisories/GHSA-x3m8-899r-f7c3)
- [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)
- [workos.com](https://workos.com/blog/samlstorm)

---
Source page: https://erroneo.us/security/cve/CVE-2025-29775/ · Security Digest: https://erroneo.us/security/ · More: https://erroneo.us/llms.txt
