CVE-2025-29774

Critical

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.

SeverityCritical
CVSS9.3
Exploit probability—
ProductXml-crypto
PublishedMar 14, 2025
First seenMar 14, 2025
Weakness typeCWE-347CWE-347

How to fix

Update
  • xml-crypto6.0.1, 3.2.1, 2.1.6 or later

Affected products

ProductAffected versionsFixed in
xml-cryptonpm4.0.0 ≤ v < 6.0.1, 3.0.0 ≤ v < 3.2.1, v < 2.1.66.0.1, 3.2.1, 2.1.6

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2025-29774 · Xml-crypto · Dark Radar