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-9459038
  • published16 Mar 2025
  • disclosed14 Mar 2025
  • creditahacker1-securesaml

Introduced: 14 Mar 2025

NewCVE-2025-29774  (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 through the SignedInfo references. An attacker can modify a valid signed XML message to bypass signature verification checks by altering critical identity or access control attributes, enabling privilege escalation or impersonation.

CVSS Base Scores

version 4.0
version 3.1