Hexret
CVE-2025-25291critical 9.8PoC available

ruby-saml SAML authentication bypass via parser differential (sign in as anyone)

A signed-XML verifier parses the same document with two different XML parsers and splits its trust across both, so a DOCTYPE-wrapped response lets one parser validate the signature over legitimate content while another reads a forged assertion.

Product
ruby-saml
Vendor
SAML-Toolkits (ruby-saml)
Affected
< 1.12.4, and >= 1.13.0 to < 1.18.0
Fixed in
1.12.4 and 1.18.0
Weakness
CWE-347
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Published
12 Mar 2025

Practice this CVE, free

Classified as

References

Related CVEs