PT-2025-11287 · Unknown · Xml-Crypto

Published

2025-03-14

·

Updated

2026-01-28

·

CVE-2025-29774

CVSS v2.0

10

Critical

VectorAV:N/AC:L/Au:N/C:C/I:C/A:C
Name of the Vulnerable Software and Affected Versions xml-crypto versions prior to 6.0.1 xml-crypto versions prior to 3.2.1 xml-crypto versions prior to 2.1.6
Description The xml-crypto library for Node.js contains a vulnerability that allows an attacker to modify a valid signed XML message in a way that still passes signature verification checks. This 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. The vulnerability can be exploited to bypass authentication or authorization mechanisms in systems that rely on xml-crypto for verifying signed XML documents.
Recommendations To resolve the issue, users of versions 6.0.0 and prior should upgrade to version 6.0.1. Users of versions 3.2.0 and prior should upgrade to version 3.2.1. Users of versions 2.1.5 and prior should upgrade to version 2.1.6. As a temporary workaround, consider implementing additional validation checks on signed XML messages to detect potential tampering. Restrict access to systems that rely on xml-crypto for verifying signed XML documents to minimize the risk of exploitation.

Exploit

Fix

Improper Verification of Cryptographic Signature

Weakness Enumeration

Related Identifiers

BDU:2025-04000
CVE-2025-29774
GHSA-9P8X-F768-WP2G

Affected Products

Xml-Crypto