{"id":"CVE-2025-29774","published":"2025-03-14T17:05:53Z","modified":"2025-03-15T20:50:21Z","title":"xml-crypto Vulnerable to XML Signature Verification Bypass via Multiple SignedInfo References","vendor":"node-saml","product":"xml-crypto","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.3,"severity":"CRITICAL","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.09103,"percentile":0.95429,"provenance":"source"},"cwes":[{"id":"CWE-347","name":"Improper Verification of Cryptographic Signature"}],"references":[{"url":"https://github.com/node-saml/xml-crypto/security/advisories/GHSA-9p8x-f768-wp2g","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/node-saml/xml-crypto/commit/28f92218ecbb8dcbd238afa4efbbd50302aa9aed","tags":["x_refsource_MISC"]},{"url":"https://github.com/node-saml/xml-crypto/commit/886dc63a8b4bb5ae1db9f41c7854b171eb83aa98","tags":["x_refsource_MISC"]},{"url":"https://github.com/node-saml/xml-crypto/commit/8ac6118ee7978b46aa56b82cbcaa5fca58c93a07","tags":["x_refsource_MISC"]},{"url":"https://github.com/node-saml/xml-crypto/releases/tag/v2.1.6","tags":["x_refsource_MISC"]},{"url":"https://github.com/node-saml/xml-crypto/releases/tag/v3.2.1","tags":["x_refsource_MISC"]},{"url":"https://github.com/node-saml/xml-crypto/releases/tag/v6.0.1","tags":["x_refsource_MISC"]},{"url":"https://workos.com/blog/samlstorm","tags":[]}],"priority":{"score":30.6,"factors":[{"name":"EPSS percentile","points":19.09},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":6.51}]},"exploitSources":{"pocGithub":{"count":2,"skipped":0,"earliest":"2025-07-23","earliestUrl":"https://github.com/demining/Digital-Signature-Forgery-Attack","repos":[{"name":"demining/Digital-Signature-Forgery-Attack","url":"https://github.com/demining/Digital-Signature-Forgery-Attack","stars":5,"created":"2025-07-23"},{"name":"demining/Phantom-Signature-Attack","url":"https://github.com/demining/Phantom-Signature-Attack","stars":2,"created":"2026-01-15"}]},"first":{"date":"2025-07-23","source":"PoC-in-GitHub","url":"https://github.com/demining/Digital-Signature-Forgery-Attack"},"provenance":"source"},"vendorSlug":"node-saml","affectedVersions":[{"vendor":"node-saml","product":"xml-crypto","versions":[">= 4.0.0, < 6.0.1",">= 3.0.0, < 3.2.1","< 2.1.6"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2025-03-14T18:36:19.111763Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"xml-crypto","vulnerableRanges":[">=4.0.0, <6.0.1",">=3.0.0, <3.2.1","<2.1.6"],"patched":["6.0.1","3.2.1","2.1.6"],"from":["GHSA-9p8x-f768-wp2g"],"provenance":"source"}],"summary":{"text":"xml-crypto, an XML digital signature and encryption library for Node.js maintained under the node-saml vendor, contains an XML signature verification flaw caused by improper verification of cryptographic signatures. An attacker can modify a validly signed XML message so that it still passes signature verification, which can be used to bypass authentication or authorization in systems relying on the library, with no authentication, user interaction, or special configuration required beyond network access to the affected application.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:32:32Z"},"euvd":{"id":"EUVD-2025-7890","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-node-saml-xml-crypto-cve-2024-32962","parents":[{"from":"CVE-2024-32962","to":"CVE-2025-29774","relation":"successor","confidence":"high","kind":"lineage","evidence":[{"kind":"version-step","provenance":"source","package":"npm:xml-crypto","fromFixed":"6.0.0","toFixed":"6.0.1","daysApart":316},{"kind":"same-code","provenance":"machine","files":["lib/signed-xml.js"],"commits":["https://github.com/node-saml/xml-crypto/commit/21201723d2ca9bc11288f62cf72552b7d659b000","https://github.com/node-saml/xml-crypto/commit/c2b83f984049edb68ad1d7c6ad0739ec92af11ca","https://github.com/node-saml/xml-crypto/commit/28f92218ecbb8dcbd238afa4efbbd50302aa9aed","https://github.com/node-saml/xml-crypto/commit/886dc63a8b4bb5ae1db9f41c7854b171eb83aa98"],"basis":"rarely changed file"}]}],"packageHistory":[{"cve":"CVE-2024-32962","published":"2024-05-02","fixed":"6.0.0","kev":false},{"cve":"CVE-2025-29774","published":"2025-03-14","fixed":"6.0.1","kev":false},{"cve":"CVE-2025-29775","published":"2025-03-14","fixed":"6.0.1","kev":false}],"package":"npm:xml-crypto"}}