
Educational lab environment demonstrating SAMLStorm (CVE-2025-29775) vulnerability in xml-crypto library. Includes vulnerable SAML service provider, mock identity provider, and exploit tool for hands-on learning.
This is a lab environment for demonstrating the SAMLStorm vulnerability (CVE-2025-29775) that affects the xml-crypto library and SAML implementations in Node.js. (Note: This is not a true exploitation of the vulnerability, just a recreation to demonstrate how the vulnerability could work.)
python start-lab.py
This will:
The SAMLStorm vulnerability (CVE-2025-29775) affects the xml-crypto library, which is used by many SAML implementations in the Node.js ecosystem. The vulnerability allows attackers to bypass signature verification by inserting comments within the DigestValue element of a SAML response.
For more information: