GHSA-638j-pmjw-jq48 · 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 "math" and "style" elements are both explicitly allowed. This vulnerability is fixed in 1.6.1.
Conclusion & alert: CVE-2024-53986 is rated Low Risk (19.5/100): CVSS Low severity, with low exploitation likelihood (EPSS 0.45%). Mandatory action: Low composite risk—no urgent action required; patch on your normal maintenance cycle and revisit priority if CVSS or EPSS increases.
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-06-15 | 2.65% | 0.45% | -2.20% |
| 2 | 2026-04-23 | 1.97% | 2.65% | +0.68% |
| 3 | 2026-03-04 | — | 1.97% | — |
Full EPSS history (16 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-638j-pmjw-jq48 · Severity: low · Ecosystem: rubygems — rails-html-sanitizer has XSS vulnerability with certain configurations
| vendor | priority | summary | link |
|---|---|---|---|
debian
|
unimportant | CVE-2024-53986 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-53986 |
redhat
|
low | — | https://access.redhat.com/security/cve/CVE-2024-53986 |
suse
|
medium | — | https://www.suse.com/security/cve/CVE-2024-53986/ |
ubuntu
|
medium | CVE-2024-53986 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-53986 |
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| rubyonrails | rails_html_sanitizers | 1.6.0 | cpe:2.3:a:rubyonrails:rails_html_sanitizers:1.6.0:*:*:*:*:rails:*:* |