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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| node-saml | xml-crypto | >= 4.0.0, < 6.0.1, >= 3.0.0, < 3.2.1, < 2.1.6 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | sqlpad +1 | 7.5.2-r2 | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 1 repository
-
ethicalPap/CVE-2025-29775 ★ 1 · Apr 17, 2025
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | xml-crypto | >= 4.0.0, < 6.0.1 | 6.0.1 | GHSA-x3m8-899r-f7c3 |
| npm | xml-crypto | >= 3.0.0, < 3.2.1 | 3.2.1 | GHSA-x3m8-899r-f7c3 |
| npm | xml-crypto | < 2.1.6 | 2.1.6 | GHSA-x3m8-899r-f7c3 |
Advisories 2
- WID-SEC-2025-0705 HCL BigFix WebUI-Anwendungen: Mehrere Schwachstellen BSI CERT-Bund (WID) · Sep 25, 2025
- WID-SEC-2025-0841 IBM App Connect Enterprise: Mehrere Schwachstellen BSI CERT-Bund (WID) · May 8, 2025
References
- https://github.com/node-saml/xml-crypto/security/advisories/GHSA-x3m8-899r-f7c3
- https://github.com/node-saml/xml-crypto/commit/28f92218ecbb8dcbd238afa4efbbd50302aa9aed
- https://github.com/node-saml/xml-crypto/commit/886dc63a8b4bb5ae1db9f41c7854b171eb83aa98
- https://github.com/node-saml/xml-crypto/commit/8ac6118ee7978b46aa56b82cbcaa5fca58c93a07
- https://github.com/node-saml/xml-crypto/releases/tag/v2.1.6
- https://github.com/node-saml/xml-crypto/releases/tag/v3.2.1
- https://github.com/node-saml/xml-crypto/releases/tag/v6.0.1