Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. xml-crypto
  4. ›
  5. CVE-2025-29774

CVE-2025-29774: xml-crypto Vulnerable to XML Signature Verification Bypass via Multiple SignedInfo References

March 14, 2025 (updated March 16, 2025)

An attacker may be able to exploit this vulnerability 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.

References

  • github.com/advisories/GHSA-9p8x-f768-wp2g
  • github.com/node-saml/xml-crypto
  • github.com/node-saml/xml-crypto/commit/28f92218ecbb8dcbd238afa4efbbd50302aa9aed
  • github.com/node-saml/xml-crypto/commit/886dc63a8b4bb5ae1db9f41c7854b171eb83aa98
  • github.com/node-saml/xml-crypto/commit/8ac6118ee7978b46aa56b82cbcaa5fca58c93a07
  • github.com/node-saml/xml-crypto/releases/tag/v2.1.6
  • github.com/node-saml/xml-crypto/releases/tag/v3.2.1
  • github.com/node-saml/xml-crypto/releases/tag/v6.0.1
  • github.com/node-saml/xml-crypto/security/advisories/GHSA-9p8x-f768-wp2g
  • nvd.nist.gov/vuln/detail/CVE-2025-29774
  • workos.com/blog/samlstorm

Code Behaviors & Features

Detect and mitigate CVE-2025-29774 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.1.6, all versions starting from 3.0.0 before 3.2.1, all versions starting from 4.0.0 before 6.0.1

Fixed versions

  • 6.0.1
  • 3.2.1
  • 2.1.6

Solution

Upgrade to versions 2.1.6, 3.2.1, 6.0.1 or above.

Weakness

  • CWE-347: Improper Verification of Cryptographic Signature

Source file

npm/xml-crypto/CVE-2025-29774.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:02 +0000.