rails-html-sanitizer Security Analysis
rails-html-sanitizer has 15 known security vulnerabilities in RubyGems (Ruby). Upgrade to version 1.7.1 or later to resolve all known issues. Data sourced from OSV, enriched with EPSS exploit probability and CISA KEV.
Low Immediate Risk
No actively exploited vulnerabilities detected. Monitor and update in your next maintenance window.
Recommended safe version: 1.7.1
Upgrading to 1.7.1 or later resolves all 15 known vulnerabilities in rails-html-sanitizer. Run: gem install rails-html-sanitizer -v 1.7.1
Is rails-html-sanitizer in your project?
Check if you're affected and upgrade to 1.7.1 to stay secure.
Vulnerabilities
15 unique vulnerabilities — sorted by exploitation risk (KEV → EPSS → CVSS). Click a CVE/GHSA ID for full details.
| CVE / GHSA | Severity | Affected | Fixed In |
|---|---|---|---|
| CVE-2022-23517 Inefficient Regular Expression Complexity in rails-html-sanitizer | HIGH | 1.0.0, 1.0.1, 1.0.2, 1.0.3 (+8 more) | 1.4.4 |
| CVE-2026-73648 Rails HTML Sanitizers: Possible XSS vulnerability with certain configurations | MEDIUM | 1.0.3, 1.0.4, 1.1.0, 1.2.0 (+13 more) | 1.7.1 |
| CVE-2022-23520 Possible XSS vulnerability with certain configurations of rails-html-sanitizer | MEDIUM | 1.0.0, 1.0.1, 1.0.2, 1.0.3 (+8 more) | 1.4.4 |
| CVE-2022-23519 Possible XSS vulnerability with certain configurations of rails-html-sanitizer | MEDIUM | 1.0.0, 1.0.1, 1.0.2, 1.0.3 (+8 more) | 1.4.4 |
| CVE-2022-23518 Improper neutralization of data URIs may allow XSS in rails-html-sanitizer | MEDIUM | 1.0.3, 1.0.4, 1.1.0, 1.2.0 (+5 more) | 1.4.4 |
| CVE-2022-32209 Rails::Html::Sanitizer vulnerable to Cross-site Scripting | MEDIUM | 1.0.0, 1.0.1, 1.0.2, 1.0.3 (+7 more) | 1.4.3 |
| CVE-2015-7578 rails-html-sanitizer Cross-site Scripting vulnerability | MEDIUM | 1.0.0, 1.0.1, 1.0.2 | 1.0.3 |
| CVE-2015-7580 rails-html-sanitizer Cross-site Scripting vulnerability | MEDIUM | 1.0.0, 1.0.1, 1.0.2 | 1.0.3 |
| CVE-2018-3741 rails-html-sanitizer Cross-site Scripting vulnerability | MEDIUM | 1.0.0, 1.0.1, 1.0.2, 1.0.3 | 1.0.4 |
| CVE-2015-7579 rails-html-sanitizer Cross-site Scripting vulnerability | MEDIUM | 1.0.0, 1.0.1, 1.0.2 | 1.0.3 |
| CVE-2024-53989 rails-html-sanitizer has XSS vulnerability with certain configurations | LOW | 1.6.0 | 1.6.1 |
| CVE-2024-53987 rails-html-sanitizer has XSS vulnerability with certain configurations | LOW | 1.6.0 | 1.6.1 |
| CVE-2024-53988 rails-html-sanitizer has XSS vulnerability with certain configurations | LOW | 1.6.0 | 1.6.1 |
| CVE-2024-53986 rails-html-sanitizer has XSS vulnerability with certain configurations | LOW | 1.6.0 | 1.6.1 |
| CVE-2024-53985 rails-html-sanitize has XSS vulnerability with certain configurations | LOW | 1.6.0 | 1.6.1 |
About This Data
Vulnerability data for rails-html-sanitizer is sourced from the Open Source Vulnerability (OSV) database, aggregating reports from GitHub Advisory Database, NIST NVD, and ecosystem-specific sources.
CVSS (Common Vulnerability Scoring System) scores reflect exploitability and impact. EPSS (Exploit Prediction Scoring System) scores indicate the probability of exploitation within the next 30 days. Vulnerabilities marked with are listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.
Related RubyGems (Ruby) Packages
Other packages in this ecosystem, ranked by shared vulnerabilities where available.
Check Your Dependencies
Scan your project to check if you're using a vulnerable version of rails-html-sanitizer.