GHSA-w8gc-x259-rc7x · Severity: low · Ecosystem: rubygems — rails-html-sanitize has XSS vulnerability with certain configurations
rails-html-sanitizer is responsible for sanitizing HTML fragments in Rails applications. There is a possible XSS vulnerability with certain configurations of Rails::HTML::Sanitizer 1.6.0 when used with Rails >= 7.1.0 and Nokogiri < 1.15.7, or 1.16.x < 1.16.8. The XSS vulnerability with certain configurations of Rails::HTML::Sanitizer may allow an attacker to inject content if HTML5 sanitization is enabled and the application developer has overridden the sanitizer's allowed tags with both "math" and "style" elements or both both "svg" and "style" elements. This vulnerability is fixed in 1.6.1.
Conclusion & alert: CVE-2024-53985 is rated Low Risk (39.3/100): CVSS Low severity, with medium exploitation likelihood (EPSS 2.20%). Mandatory action: Monitor for updates and reassess as exploit intelligence or EPSS changes.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-04-23 | 1.63% | 2.20% | +0.57% |
| 2 | 2026-03-04 | 0.84% | 1.63% | +0.78% |
| 3 | 2026-03-01 | — | 0.84% | — |
Full EPSS history (26 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 2.3 | 4.0 | LOW |
|
— | — | [email protected] |
| 6.1 | 3.1 | MEDIUM |
|
2.8 | 2.7 | [email protected] |
GHSA-w8gc-x259-rc7x · Severity: low · Ecosystem: rubygems — rails-html-sanitize has XSS vulnerability with certain configurations
| vendor | priority | summary | link |
|---|---|---|---|
debian
|
unimportant | CVE-2024-53985 unimportant priority: Debian including 1 source packages (ruby-rails-html-sanitizer), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. | https://security-tracker.debian.org/tracker/CVE-2024-53985 |
redhat
|
low | — | https://access.redhat.com/security/cve/CVE-2024-53985 |
suse
|
medium | — | https://www.suse.com/security/cve/CVE-2024-53985/ |
ubuntu
|
medium | CVE-2024-53985 medium priority: Ubuntu including 1 source packages (ruby-rails-html-sanitizer), 9 status rows across 9 suites (bionic, focal, jammy, noble, oracular, plucky, questing, upstream, xenial): needs-triage 7, ignored 2. | https://ubuntu.com/security/CVE-2024-53985 |
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| rubyonrails | rails_html_sanitizers | 1.6.0 | cpe:2.3:a:rubyonrails:rails_html_sanitizers:1.6.0:*:*:*:*:rails:*:* |