GHSA-2x5m-9ch4-qgrr · Severity: low · Ecosystem: rubygems — rails-html-sanitizer 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. A possible 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 where the "style" element is explicitly allowed and the "svg" or "math" element is not allowed. This vulnerability is fixed in 1.6.1.
Conclusion & alert: CVE-2024-53987 is rated Low Risk (39/100): CVSS Low severity, with medium exploitation likelihood (EPSS 1.97%). 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.46% | 1.97% | +0.51% |
| 2 | 2026-03-04 | 0.75% | 1.46% | +0.70% |
| 3 | 2026-03-01 | — | 0.75% | — |
Full EPSS history (15 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-2x5m-9ch4-qgrr · Severity: low · Ecosystem: rubygems — rails-html-sanitizer has XSS vulnerability with certain configurations
| vendor | priority | summary | link |
|---|---|---|---|
debian
|
unimportant | CVE-2024-53987 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-53987 |
redhat
|
low | — | https://access.redhat.com/security/cve/CVE-2024-53987 |
suse
|
medium | — | https://www.suse.com/security/cve/CVE-2024-53987/ |
ubuntu
|
medium | CVE-2024-53987 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-53987 |
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| rubyonrails | rails_html_sanitizers | 1.6.0 | cpe:2.3:a:rubyonrails:rails_html_sanitizers:1.6.0:*:*:*:*:rails:*:* |