{"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-08-12T03:51:28.941942887Z","published":"2025-03-14T17:05:53.943Z","related":["CGA-mjp6-6m95-6v98"],"database_specific":{"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"},"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":"07110392122a09ad8e783fa40c6580dec8d0e3db"},{"introduced":"f338e7a99e19afda1946c86078e8a72313f15282"},{"introduced":"0"},{"fixed":"d80e5b77ade2f72225a2f324d5b54d20f4f4e396"},{"fixed":"92bbddf6b986ab1bfeda6841339161dd599aa31a"},{"fixed":"5d260884f48e6bc3050a7d14be13c79a5e9acdec"},{"fixed":"28f92218ecbb8dcbd238afa4efbbd50302aa9aed"},{"fixed":"886dc63a8b4bb5ae1db9f41c7854b171eb83aa98"},{"fixed":"8ac6118ee7978b46aa56b82cbcaa5fca58c93a07"}],"database_specific":{"source":["AFFECTED_FIELD","REFERENCES"],"extracted_events":[{"introduced":"4.0.0"},{"fixed":"6.0.1"},{"introduced":"3.0.0"},{"fixed":"3.2.1"},{"introduced":"0"},{"fixed":"2.1.6"}]}}],"versions":["v6.0.0","v3.2.0","v2.1.5","v5.1.1","v5.1.0","v5.0.0","v4.1.0","v4.0.1","v4.0.0","v3.1.0","v3.0.1","v2.1.4","v3.0.0","v2.1.3","v1.5.3","v2.1.2","v2.1.1","v2.1.0","v2.0.0","v1.5.2","v1.5.1","v1.5.0","v1.4.1","v1.4.0","v1.3.0","v1.2.0","v1.1.4","v1.1.3","v1.1.2","v1.1.1","v1.1.0","v1.0.2","v1.0.1","v1.0.0","v0.9.0","0.9.0","v0.8.5","v0.8.4","v0.8.3","v0.8.2","v0.8.1","v0.8.0","V1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-29774.json"}}],"schema_version":"1.9.0","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"}]}