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.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-347"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/29xxx/CVE-2025-29774.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "4.0.0"
},
{
"fixed": "6.0.1"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"introduced": "3.0.0"
},
{
"fixed": "3.2.1"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"introduced": "0"
},
{
"fixed": "2.1.6"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"fixed": "28f92218ecbb8dcbd238afa4efbbd50302aa9aed"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "886dc63a8b4bb5ae1db9f41c7854b171eb83aa98"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "8ac6118ee7978b46aa56b82cbcaa5fca58c93a07"
}
],
"source": "REFERENCES_COMMIT"
},
{
"original_tag": "v2.1.6",
"range": [
{
"fixed": "5d260884f48e6bc3050a7d14be13c79a5e9acdec"
}
],
"source": "REFERENCES_TAG"
},
{
"original_tag": "v3.2.1",
"range": [
{
"fixed": "92bbddf6b986ab1bfeda6841339161dd599aa31a"
}
],
"source": "REFERENCES_TAG"
},
{
"original_tag": "v6.0.1",
"range": [
{
"fixed": "d80e5b77ade2f72225a2f324d5b54d20f4f4e396"
}
],
"source": "REFERENCES_TAG"
}
]
}