Skip to content
Connect AISign inSign up free
CVE-2025-252919.3CriticalCWE-347

CVE-2025-25291: ruby-saml vulnerable to SAML authentication bypass due to DOCTYPE handling (parser differential)

SAML-Toolkits · ruby-saml

Vendor fix available · Affected: SAML-Toolkits ruby-saml · Exploitation: likely to be exploited (10% or more)

Not in CyberSIXT coverage yet: no article names this CVE. This page shows the public record.

21.0%probability of exploitation in the next 30 days
97th percentile
050100

Higher than 97% of scored CVEs

9.3CriticalCVSS 4.0
LowCrit.

DescriptionCVE.org

ruby-saml provides security assertion markup language (SAML) single sign-on (SSO) for Ruby. An authentication bypass vulnerability was found in ruby-saml prior to versions 1.12.4 and 1.18.0 due to a parser differential. ReXML and Nokogiri parse XML differently; the parsers can generate entirely different document structures from the same XML input. That allows an attacker to be able to execute a Signature Wrapping attack. This issue may lead to authentication bypass. Versions 1.12.4 and 1.18.0 fix the issue.

Affected products1

From the CVE record. A product or version that is not listed is unknown, not unaffected.

  • SAML-Toolkits · ruby-saml< 1.12.4; >= 1.13.0, < 1.18.0

On the Atlas

Every published CVE is on the CyberSIXT Atlas, grouped by weakness, vendor and month.

Open the Atlas
Exploitation
Likely to be exploited (10% or more). EPSS gives it a 10% or higher chance of exploitation in the next 30 days.
CISA KEV
Not listed
Public check
No public nuclei template
Published
March 2025

CoverageNo articles yet

No CyberSIXT article names CVE-2025-25291 yet, so there is no coverage timeline, action brief or change log for it. Everything on this page comes from the public CVE record, CISA KEV, EPSS and the nuclei template index. Search the archive or see the CVEs in the news.

References

1 more reference is in the CVE record.