{"id":"CVE-2025-29775","published":"2025-03-14T17:11:05Z","modified":"2025-03-15T20:45:45Z","title":"xml-crypto Vulnerable to XML Signature Verification Bypass via DigestValue Comment","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 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.0055,"percentile":0.39646,"provenance":"source"},"cwes":[{"id":"CWE-347","name":"Improper Verification of Cryptographic Signature"}],"references":[{"url":"https://github.com/node-saml/xml-crypto/security/advisories/GHSA-x3m8-899r-f7c3","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":19.4,"factors":[{"name":"EPSS percentile","points":7.93},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":6.51}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2025-04-17","earliestUrl":"https://github.com/ethicalPap/CVE-2025-29775","repos":[{"name":"ethicalPap/CVE-2025-29775","url":"https://github.com/ethicalPap/CVE-2025-29775","stars":1,"created":"2025-04-17"}]},"first":{"date":"2025-04-17","source":"PoC-in-GitHub","url":"https://github.com/ethicalPap/CVE-2025-29775"},"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:24:28.395551Z","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-x3m8-899r-f7c3"],"provenance":"source"}],"summary":{"text":"The xml-crypto library, 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 with network access can modify a validly signed XML message so that it still passes signature verification, without authentication or user interaction, which can be used to alter identity or access control attributes in systems that rely on the library to verify signed documents.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:32:32Z"},"euvd":{"id":"EUVD-2025-7891","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-node-saml-xml-crypto-cve-2024-32962","parents":[{"from":"CVE-2024-32962","to":"CVE-2025-29775","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"}}