9.8

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

Modified
AliasesUBUNTU-CVE-2025-25291DEBIAN-CVE-2025-25291GHSA-4vc4-m8qh-g8jm
Published 12-03-2025Last modified 03-11-2025

Vulnerability summary

CVE-2025-25291 is a critical (CVSS 9.8) vulnerability in netapp storagegrid. EPSS estimates a 34.36% chance of exploitation in the next 30 days, higher than 98.4% of scored vulnerabilities. 2 public exploits are recorded.

Priority
Prioritisepublic exploit

Public exploit (reference, Date unknown)

Source freshness unavailable

How is this decided?
CVSS score
9.8/10
010
Critical · v3.1 (NVD)
EPSS score
34.36%
0%100%
High · +13.39 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits2reference

Advisory lineage

Upstream 0 · Downstream 2 · Related 2

Timeline

  1. 12-03-2025
    PublishedVulnerability first disclosed.
  2. 03-11-2025
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

8 scores · 5 sources · 2 versions

EPSS trend

Probability

34.36%

Chance of exploitation in the next 30 days

Percentile

98%

Versus all other CVEs

30-day change

Increase +13.39 pp

From 20.96% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

2 found
  • referenceUnverified

    Exploit Reference (github.blog)

    Maturity: unknown

  • referenceUnverified

    Exploit Reference (portswigger.net)

    Maturity: unknown

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Debian1 product
  • ruby-samlAll versions (No fix recorded)
Netapp1 product
Omniauth1 product
Onelogin1 product
RubyGems1 product
  • ruby-saml< 1.12.4 | ≥ 1.13.0, < 1.18.0
Saml-toolkits1 product
Ubuntu1 product
  • ruby-samlAll versions (No fix recorded) | < 1.7.2-1ubuntu0.1~esm2 | < 1.11.0-1ubuntu0.1+esm1 | < 1.13.0-1ubuntu0.1+esm1 | < 1.15.0-1ubuntu0.24.04.1+esm1

7 vendors · 7 products

References

21 links
Show all 21 references