Skip to content
OpenAdvisories
Critical · 9.3 Public exploit CVE-2025-29774 EUVD-2025-7890GHSA-9p8x-f768-wp2g

xml-crypto Vulnerable to XML Signature Verification Bypass via Multiple SignedInfo References

Published Mar 14, 2025 · Updated Mar 15, 2025 · 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 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.

Affected products

VendorProductAffectedFixed
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

ReleasePackageFixed inAdvisory
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.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 2 repositories

  • How CVE-2025-29774 Vulnerabilities and the SIGHASH_SINGLE Bug Threaten Multi-Signature Wallet Operational Methods with Fake RawTX

  • demining/Phantom-Signature-Attack ★ 2 · Jan 15, 2026

    Phantom Signature Attack: An Analysis of the Critical Vulnerability CVE-2025-29774 in the Bitcoin Protocol, SIGHASH_SINGLE Implementation Flaws, and the Mathematical Framework for Private Key Recover…

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
npm xml-crypto >= 4.0.0, < 6.0.1 6.0.1 GHSA-9p8x-f768-wp2g
npm xml-crypto >= 3.0.0, < 3.2.1 3.2.1 GHSA-9p8x-f768-wp2g
npm xml-crypto < 2.1.6 2.1.6 GHSA-9p8x-f768-wp2g

Advisories 2

References