{"id":"CVE-2025-29774","summary":"xml-crypto Vulnerable to XML Signature Verification Bypass via Multiple SignedInfo References","details":"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.","aliases":["GHSA-9p8x-f768-wp2g"],"modified":"2026-04-10T05:24:33.800926Z","published":"2025-03-14T17:05:53.943Z","related":["CGA-mjp6-6m95-6v98"],"database_specific":{"cwe_ids":["CWE-347"],"cna_assigner":"GitHub_M","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/29xxx/CVE-2025-29774.json"},"references":[{"type":"WEB","url":"https://github.com/node-saml/xml-crypto/releases/tag/v2.1.6"},{"type":"WEB","url":"https://github.com/node-saml/xml-crypto/releases/tag/v3.2.1"},{"type":"WEB","url":"https://github.com/node-saml/xml-crypto/releases/tag/v6.0.1"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/29xxx/CVE-2025-29774.json"},{"type":"ADVISORY","url":"https://github.com/node-saml/xml-crypto/security/advisories/GHSA-9p8x-f768-wp2g"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-29774"},{"type":"FIX","url":"https://github.com/node-saml/xml-crypto/commit/28f92218ecbb8dcbd238afa4efbbd50302aa9aed"},{"type":"FIX","url":"https://github.com/node-saml/xml-crypto/commit/886dc63a8b4bb5ae1db9f41c7854b171eb83aa98"},{"type":"FIX","url":"https://github.com/node-saml/xml-crypto/commit/8ac6118ee7978b46aa56b82cbcaa5fca58c93a07"},{"type":"ARTICLE","url":"https://workos.com/blog/samlstorm"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/node-saml/xml-crypto","events":[{"introduced":"0"},{"fixed":"28f92218ecbb8dcbd238afa4efbbd50302aa9aed"}]},{"type":"GIT","repo":"https://github.com/node-saml/xml-crypto","events":[{"introduced":"0"},{"fixed":"886dc63a8b4bb5ae1db9f41c7854b171eb83aa98"}]},{"type":"GIT","repo":"https://github.com/node-saml/xml-crypto","events":[{"introduced":"0"},{"fixed":"8ac6118ee7978b46aa56b82cbcaa5fca58c93a07"}]},{"type":"GIT","repo":"https://github.com/node-saml/xml-crypto","events":[{"introduced":"0"},{"fixed":"5d260884f48e6bc3050a7d14be13c79a5e9acdec"}]},{"type":"GIT","repo":"https://github.com/node-saml/xml-crypto","events":[{"introduced":"0"},{"fixed":"92bbddf6b986ab1bfeda6841339161dd599aa31a"}]},{"type":"GIT","repo":"https://github.com/node-saml/xml-crypto","events":[{"introduced":"0"},{"fixed":"d80e5b77ade2f72225a2f324d5b54d20f4f4e396"}]}],"versions":["0.9.0","V1","v0.8.0","v0.8.1","v0.8.2","v0.8.3","v0.8.4","v0.8.5","v0.9.0","v1.0.0","v1.0.1","v1.0.2","v1.1.0","v1.1.1","v1.1.2","v1.1.3","v1.1.4","v1.2.0","v1.3.0","v1.4.0","v1.4.1","v1.5.0","v1.5.1","v1.5.2","v1.5.3","v2.0.0","v2.1.0","v2.1.1","v2.1.2","v2.1.3","v2.1.4","v2.1.5","v3.0.0","v3.0.1","v3.1.0","v3.2.0","v4.0.0","v4.0.1","v4.1.0","v5.0.0","v5.1.0","v5.1.1","v6.0.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-29774.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}]}