{"id":"CVE-2025-29774","aliases":["GHSA-9p8x-f768-wp2g"],"summary":"xml-crypto Vulnerable to XML Signature Verification Bypass via Multiple SignedInfo References","published_at":"2025-03-14T17:05:53.943Z","modified_at":"2026-09-10T03:49:48.483681Z","products":[],"rating":{"severity":"critical","score":9.3,"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","attack_path":"internet_unauthenticated","user_interaction":false,"malicious":false,"red_hat":"Important","vendor_ratings":[{"source":"Red Hat","rating":"Important"}]},"fix_available":false,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"epss":{"score":0.09103000164031982,"percentile":0.9540899991989136,"date":"2026-11-19T00:00:00Z"},"priority":11.3,"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.","affected_stack":[],"affected_other":[{"ecosystem":"CVE","package":"node-saml/xml-crypto","versions":[">= 4.0.0, < 6.0.1",">= 3.0.0, < 3.2.1","< 2.1.6"],"provider":"cvelistv5","source":"CVE-2025-29774","relation":"self"},{"ecosystem":"npm","package":"xml-crypto","purl":"pkg:npm/xml-crypto","ranges":[{"type":"SEMVER","events":[{"introduced":"4.0.0"},{"fixed":"6.0.1"}]}],"fixed":["6.0.1"],"provider":"osv","source":"GHSA-9p8x-f768-wp2g","relation":"self"},{"ecosystem":"npm","package":"xml-crypto","purl":"pkg:npm/xml-crypto","ranges":[{"type":"SEMVER","events":[{"introduced":"3.0.0"},{"fixed":"3.2.1"}]}],"fixed":["3.2.1"],"provider":"osv","source":"GHSA-9p8x-f768-wp2g","relation":"self"},{"ecosystem":"npm","package":"xml-crypto","purl":"pkg:npm/xml-crypto","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.1.6"}]}],"fixed":["2.1.6"],"provider":"osv","source":"GHSA-9p8x-f768-wp2g","relation":"self"}],"product_status":[{"vendor":"Red Hat","product":"OpenShift Serverless","cpe":"cpe:/a:redhat:serverless:1","status":"affected","packages":["openshift-serverless-1/kn-backstage-plugins-eventmesh-rhel8"],"package_count":1,"fixed":[],"advisories":[],"note":"Will not fix","provider":"redhat-vex","source":"CVE-2025-29774"},{"vendor":"Red Hat","product":"Red Hat Developer Hub (RHDH) 1.4","cpe":"cpe:/a:redhat:rhdh:1.4::el9","status":"fixed","packages":["rhdh"],"package_count":1,"fixed":[],"advisories":["RHSA-2025:3595"],"provider":"redhat-vex","source":"CVE-2025-29774"},{"vendor":"Red Hat","product":"Red Hat Developer Hub (RHDH) 1.4","cpe":"cpe:/a:redhat:rhdh:1.4::el9","status":"not_affected","packages":["rhdh"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2025-29774"},{"vendor":"Red Hat","product":"Red Hat Developer Hub 1.5","cpe":"cpe:/a:redhat:rhdh:1.5::el9","status":"fixed","packages":["rhdh"],"package_count":1,"fixed":[],"advisories":["RHSA-2025:3374"],"provider":"redhat-vex","source":"CVE-2025-29774"},{"vendor":"Red Hat","product":"Red Hat Developer Hub 1.5","cpe":"cpe:/a:redhat:rhdh:1.5::el9","status":"not_affected","packages":["rhdh"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2025-29774"}],"records":[{"provider":"csaf-bsi","source_id":"WID-SEC-W-2025-0705","relation":"upstream","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2025-0705","license":"TLP:CLEAR, mirroring permitted","published_at":"2025-04-03T22:00:00Z","modified_at":"2025-09-25T22:00:00Z","summary":"HCL BigFix WebUI-Anwendungen: Mehrere Schwachstellen","details":"Ein entfernter anonymer oder lokaler Angreifer kann mehrere Schwachstellen in HCL BigFix ausnutzen, um Dateien zu manipulieren, erhöhte Privilegien zu erlangen, einen Denial-of-Service-Zustand auszulösen, vertrauliche Informationen offenzulegen und beliebigen Code auszuführen.\n\nBigFix ist eine Lösung zum Erkennen und Verwalten von physischen und virtuellen Endpunkten.","severity":[{"type":"BSI","score":"hoch","source":"WID-SEC-W-2025-0705"}],"affected":[],"product_status":[],"references":[{"type":"WEB","url":"https://wid.cert-bund.de/.well-known/csaf/white/2025/wid-sec-w-2025-0705.json"},{"type":"WEB","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2025-0705"},{"type":"WEB","url":"https://support.hcl-software.com/csm?id=kb_article&sysparm_article=KB0120318"},{"type":"WEB","url":"https://github.com/axios/axios/security/advisories/GHSA-jr5f-v2jv-69x6"},{"type":"WEB","url":"https://github.com/canvg/canvg/issues/1749"},{"type":"WEB","url":"https://github.com/babel/babel/pull/17173"},{"type":"WEB","url":"https://support.hcl-software.com/csm?id=kb_article&sysparm_article=KB0120590"},{"type":"WEB","url":"https://support.hcl-software.com/csm?id=kb_article&sysparm_article=KB0124272"}]},{"provider":"csaf-bsi","source_id":"WID-SEC-W-2025-0841","relation":"upstream","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2025-0841","license":"TLP:CLEAR, mirroring permitted","published_at":"2025-04-16T22:00:00Z","modified_at":"2025-05-08T22:00:00Z","summary":"IBM App Connect Enterprise: Mehrere Schwachstellen","details":"Ein entfernter, anonymer Angreifer kann mehrere Schwachstellen in IBM App Connect Enterprise ausnutzen, um Sicherheitsvorkehrungen zu umgehen, Informationen auszuspähen oder seine Privilegien zu eskalieren\n\nIBM App Connect Enterprise kombiniert die branchenbewährten Technologien des IBM Integration Bus mit Cloud-nativen Technologien.","severity":[{"type":"BSI","score":"hoch","source":"WID-SEC-W-2025-0841"}],"affected":[],"product_status":[],"references":[{"type":"WEB","url":"https://wid.cert-bund.de/.well-known/csaf/white/2025/wid-sec-w-2025-0841.json"},{"type":"WEB","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2025-0841"},{"type":"WEB","url":"https://www.ibm.com/support/pages/node/7231056"},{"type":"WEB","url":"https://www.ibm.com/support/pages/node/7232928"}]},{"provider":"cvelistv5","source_id":"CVE-2025-29774","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2025-29774","license":"CC-BY-4.0","published_at":"2025-03-14T17:05:53.943Z","modified_at":"2025-03-15T20:50:21.614Z","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.","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","source":"CVE-2025-29774"}],"affected":[{"ecosystem":"CVE","package":"node-saml/xml-crypto","versions":[">= 4.0.0, < 6.0.1",">= 3.0.0, < 3.2.1","< 2.1.6"],"provider":"cvelistv5","source":"CVE-2025-29774","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://github.com/node-saml/xml-crypto/security/advisories/GHSA-9p8x-f768-wp2g"},{"type":"WEB","url":"https://github.com/node-saml/xml-crypto/commit/28f92218ecbb8dcbd238afa4efbbd50302aa9aed"},{"type":"WEB","url":"https://github.com/node-saml/xml-crypto/commit/886dc63a8b4bb5ae1db9f41c7854b171eb83aa98"},{"type":"WEB","url":"https://github.com/node-saml/xml-crypto/commit/8ac6118ee7978b46aa56b82cbcaa5fca58c93a07"},{"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"}]},{"provider":"osv","source_id":"GHSA-9p8x-f768-wp2g","relation":"self","url":"https://osv.dev/vulnerability/GHSA-9p8x-f768-wp2g","license":"CC-BY-4.0","published_at":"2025-03-14T17:14:23Z","modified_at":"2026-09-10T03:49:48.483681Z","summary":"xml-crypto Vulnerable to XML Signature Verification Bypass via Multiple SignedInfo References","details":"# Impact\nAn attacker may be able to exploit this vulnerability 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.\n\n# Patches\nAll versions <= 6.0.0 are affected. Please upgrade to version 6.0.1.\n\nIf you are still using v2.x or v3.x please upgrade to the associated patch version.\n\n# Indicators of Compromise\n\nWhen logging XML payloads, check for the following indicators. If the payload includes encrypted elements, ensure you analyze the decrypted version for a complete assessment. (If encryption is not used, analyze the original XML document directly). This applies to various XML-based authentication and authorization flows, such as SAML Response payloads.\n\n### Multiple SignedInfo Nodes\nThere should not be more than one SignedInfo node inside a Signature. If you find multiple SignedInfo nodes, it could indicate an attack.\n\n```xml\n<Signature>\n    <SomeNode>\n      <SignedInfo>\n        <Reference URI=\"somefakereference\">\n          <DigestValue>forgeddigestvalue</DigestValue>\n        </Reference>\n      </SignedInfo>\n    </SomeNode>\n    <SignedInfo>\n        <Reference URI=\"realsignedreference\">\n          <DigestValue>realdigestvalue</DigestValue>\n        </Reference>\n      </SignedInfo>\n    </SignedInfo>\n</Signature>\n```\n\n### Code to test\n\nPass in the decrypted version of the document\n```js\ndecryptedDocument = ... // yours to implement\n\n// This check is per-Signature node, not per-document\nconst signedInfoNodes = xpath.select(\".//*[local-name(.)='SignedInfo']\", signatureNode);\n\nif (signedInfoNodes.length === 0) {\n  // Not necessarily a compromise, but invalid. Should contain exactly one SignedInfo node\n  // Yours to implement\n}\n\nif (signedInfoNodes.length > 1) {\n  // Compromise detected, yours to implement\n}\n```","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","source":"GHSA-9p8x-f768-wp2g"}],"affected":[{"ecosystem":"npm","package":"xml-crypto","purl":"pkg:npm/xml-crypto","ranges":[{"type":"SEMVER","events":[{"introduced":"4.0.0"},{"fixed":"6.0.1"}]}],"fixed":["6.0.1"],"provider":"osv","source":"GHSA-9p8x-f768-wp2g","relation":"self"},{"ecosystem":"npm","package":"xml-crypto","purl":"pkg:npm/xml-crypto","ranges":[{"type":"SEMVER","events":[{"introduced":"3.0.0"},{"fixed":"3.2.1"}]}],"fixed":["3.2.1"],"provider":"osv","source":"GHSA-9p8x-f768-wp2g","relation":"self"},{"ecosystem":"npm","package":"xml-crypto","purl":"pkg:npm/xml-crypto","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.1.6"}]}],"fixed":["2.1.6"],"provider":"osv","source":"GHSA-9p8x-f768-wp2g","relation":"self"}],"product_status":[],"references":[{"type":"WEB","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":"WEB","url":"https://github.com/node-saml/xml-crypto/commit/28f92218ecbb8dcbd238afa4efbbd50302aa9aed"},{"type":"WEB","url":"https://github.com/node-saml/xml-crypto/commit/886dc63a8b4bb5ae1db9f41c7854b171eb83aa98"},{"type":"WEB","url":"https://github.com/node-saml/xml-crypto/commit/8ac6118ee7978b46aa56b82cbcaa5fca58c93a07"},{"type":"PACKAGE","url":"https://github.com/node-saml/xml-crypto"},{"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":"WEB","url":"https://workos.com/blog/samlstorm"}]},{"provider":"redhat-vex","source_id":"CVE-2025-29774","relation":"self","url":"https://access.redhat.com/security/cve/CVE-2025-29774","license":"CC-BY-4.0","published_at":"2025-03-14T17:05:53.943Z","modified_at":"2025-03-29T22:18:09Z","summary":"xml-crypto: xml-crypto Vulnerable to XML Signature Verification Bypass via Multiple SignedInfo References","details":"A flaw was found in the xml-crypto library for Node.js. An attacker can exploit this vulnerability to bypass authentication or authorization mechanisms in systems that rely on xml-crypto to verify signed XML documents. The vulnerability allows an attacker to modify a valid signed XML message in a way that still passes signature verification checks.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","source":"CVE-2025-29774"},{"type":"Red Hat","score":"Important","source":"CVE-2025-29774"}],"affected":[],"product_status":[{"vendor":"Red Hat","product":"OpenShift Serverless","cpe":"cpe:/a:redhat:serverless:1","status":"affected","packages":["openshift-serverless-1/kn-backstage-plugins-eventmesh-rhel8"],"package_count":1,"fixed":[],"advisories":[],"note":"Will not fix","provider":"redhat-vex","source":"CVE-2025-29774"},{"vendor":"Red Hat","product":"Red Hat Developer Hub (RHDH) 1.4","cpe":"cpe:/a:redhat:rhdh:1.4::el9","status":"fixed","packages":["rhdh"],"package_count":1,"fixed":[],"advisories":["RHSA-2025:3595"],"provider":"redhat-vex","source":"CVE-2025-29774"},{"vendor":"Red Hat","product":"Red Hat Developer Hub (RHDH) 1.4","cpe":"cpe:/a:redhat:rhdh:1.4::el9","status":"not_affected","packages":["rhdh"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2025-29774"},{"vendor":"Red Hat","product":"Red Hat Developer Hub 1.5","cpe":"cpe:/a:redhat:rhdh:1.5::el9","status":"fixed","packages":["rhdh"],"package_count":1,"fixed":[],"advisories":["RHSA-2025:3374"],"provider":"redhat-vex","source":"CVE-2025-29774"},{"vendor":"Red Hat","product":"Red Hat Developer Hub 1.5","cpe":"cpe:/a:redhat:rhdh:1.5::el9","status":"not_affected","packages":["rhdh"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2025-29774"}],"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-29774.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2025-29774"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2352596"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2025-29774"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-29774"},{"type":"WEB","url":"https://github.com/node-saml/xml-crypto/commit/28f92218ecbb8dcbd238afa4efbbd50302aa9aed"},{"type":"WEB","url":"https://github.com/node-saml/xml-crypto/commit/886dc63a8b4bb5ae1db9f41c7854b171eb83aa98"},{"type":"WEB","url":"https://github.com/node-saml/xml-crypto/commit/8ac6118ee7978b46aa56b82cbcaa5fca58c93a07"},{"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":"WEB","url":"https://github.com/node-saml/xml-crypto/security/advisories/GHSA-9p8x-f768-wp2g"}]}],"references":[{"type":"WEB","url":"https://github.com/node-saml/xml-crypto/security/advisories/GHSA-9p8x-f768-wp2g"},{"type":"WEB","url":"https://github.com/node-saml/xml-crypto/commit/28f92218ecbb8dcbd238afa4efbbd50302aa9aed"},{"type":"WEB","url":"https://github.com/node-saml/xml-crypto/commit/886dc63a8b4bb5ae1db9f41c7854b171eb83aa98"},{"type":"WEB","url":"https://github.com/node-saml/xml-crypto/commit/8ac6118ee7978b46aa56b82cbcaa5fca58c93a07"},{"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://nvd.nist.gov/vuln/detail/CVE-2025-29774"},{"type":"PACKAGE","url":"https://github.com/node-saml/xml-crypto"},{"type":"WEB","url":"https://workos.com/blog/samlstorm"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-29774.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2025-29774"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2352596"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2025-29774"}],"sources":[{"provider":"csaf-bsi","source_id":"WID-SEC-W-2025-0705","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2025-0705","license":"TLP:CLEAR, mirroring permitted","modified_at":"2025-09-25T22:00:00Z","relation":"upstream"},{"provider":"csaf-bsi","source_id":"WID-SEC-W-2025-0841","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2025-0841","license":"TLP:CLEAR, mirroring permitted","modified_at":"2025-05-08T22:00:00Z","relation":"upstream"},{"provider":"cvelistv5","source_id":"CVE-2025-29774","url":"https://www.cve.org/CVERecord?id=CVE-2025-29774","license":"CC-BY-4.0","modified_at":"2025-03-15T20:50:21.614Z","relation":"self"},{"provider":"osv","source_id":"GHSA-9p8x-f768-wp2g","url":"https://osv.dev/vulnerability/GHSA-9p8x-f768-wp2g","license":"CC-BY-4.0","modified_at":"2026-09-10T03:49:48.483681Z","relation":"self"},{"provider":"redhat-vex","source_id":"CVE-2025-29774","url":"https://access.redhat.com/security/cve/CVE-2025-29774","license":"CC-BY-4.0","modified_at":"2025-03-29T22:18:09Z","relation":"self"}]}
