Improper Verification of Cryptographic Signature Affecting xml-crypto package, versions <2.1.6>=3.0.0 <3.2.1>=4.0.0 <6.0.1


Severity

Recommended
0.0
critical
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JS-XMLCRYPTO-9459039
  • published16 Mar 2025
  • disclosed14 Mar 2025
  • creditahacker1-securesaml

Introduced: 14 Mar 2025

NewCVE-2025-29775  (opens in a new tab)
CWE-347  (opens in a new tab)

How to fix?

Upgrade xml-crypto to version 2.1.6, 3.2.1, 6.0.1 or higher.

Overview

xml-crypto is a xml digital signature and encryption library for Node.js.

Affected versions of this package are vulnerable to Improper Verification of Cryptographic Signature due to the manipulation of the DigestValue element within the XML structure. An attacker can alter the integrity of the XML document and bypass security checks by inserting or modifying comments within the DigestValue element.

CVSS Base Scores

version 4.0
version 3.1