Skip to main content
RubyGems (Ruby)

rails-html-sanitizer Known Vulnerabilities & Fixes

rails-html-sanitizer has 16 known security vulnerabilities in RubyGems (Ruby). Upgrade to version 1.7.2 or later to resolve all known issues. Data sourced from OSV, enriched with EPSS exploit probability and CISA KEV.

16 Vulnerabilities

Low Immediate Risk

No actively exploited vulnerabilities detected. Monitor and update in your next maintenance window.

Recommended safe version: 1.7.2

Upgrading to 1.7.2 or later resolves all 16 known vulnerabilities in rails-html-sanitizer. Run: gem install rails-html-sanitizer -v 1.7.2

Is rails-html-sanitizer in your project?

Check if you're affected and upgrade to 1.7.2 to stay secure.

16
Total
0
Critical
1
High
10
Medium
5
Low

Security Summary

  • 16 affected version ranges have been identified across these 16 advisories.
  • 100% of known issues have a published fixed version.
  • Highest exploit-probability (EPSS) score for rails-html-sanitizer: 2.6%.
  • Remediation: gem update rails-html-sanitizer

Vulnerabilities

16 unique vulnerabilities — sorted by exploitation risk (KEV → EPSS → CVSS). Click a CVE/GHSA ID for full details. First disclosed Oct 24, 2017, most recently Nov 13, 2026 (3307 days apart).

CVE / GHSASeverity
CVE-2015-7579
rails-html-sanitizer Cross-site Scripting vulnerability
Affected
1.0.0, 1.0.1, 1.0.2
Fixed in
1.0.3
MEDIUM
CVE-2015-7578
rails-html-sanitizer Cross-site Scripting vulnerability
Affected
1.0.0, 1.0.1, 1.0.2
Fixed in
1.0.3
MEDIUM
CVE-2015-7580
rails-html-sanitizer Cross-site Scripting vulnerability
Affected
1.0.0, 1.0.1, 1.0.2
Fixed in
1.0.3
MEDIUM
CVE-2022-23517
Inefficient Regular Expression Complexity in rails-html-sanitizer
Affected
1.0.0, 1.0.1, 1.0.2, 1.0.3 (+8 more)
Fixed in
1.4.4
HIGH
CVE-2022-32209
Rails::Html::Sanitizer vulnerable to Cross-site Scripting
Affected
1.0.0, 1.0.1, 1.0.2, 1.0.3 (+7 more)
Fixed in
1.4.3
MEDIUM
CVE-2022-23520
Possible XSS vulnerability with certain configurations of rails-html-sanitizer
Affected
1.0.0, 1.0.1, 1.0.2, 1.0.3 (+8 more)
Fixed in
1.4.4
MEDIUM
CVE-2018-3741
rails-html-sanitizer Cross-site Scripting vulnerability
Affected
1.0.0, 1.0.1, 1.0.2, 1.0.3
Fixed in
1.0.4
MEDIUM
CVE-2022-23519
Possible XSS vulnerability with certain configurations of rails-html-sanitizer
Affected
1.0.0, 1.0.1, 1.0.2, 1.0.3 (+8 more)
Fixed in
1.4.4
MEDIUM
CVE-2022-23518
Improper neutralization of data URIs may allow XSS in rails-html-sanitizer
Affected
1.0.3, 1.0.4, 1.1.0, 1.2.0 (+5 more)
Fixed in
1.4.4
MEDIUM
CVE-2024-53985
rails-html-sanitize has XSS vulnerability with certain configurations
Affected
1.6.0
Fixed in
1.6.1
LOW
CVE-2024-53989
rails-html-sanitizer has XSS vulnerability with certain configurations
Affected
1.6.0
Fixed in
1.6.1
LOW
CVE-2024-53986
rails-html-sanitizer has XSS vulnerability with certain configurations
Affected
1.6.0
Fixed in
1.6.1
LOW
CVE-2024-53987
rails-html-sanitizer has XSS vulnerability with certain configurations
Affected
1.6.0
Fixed in
1.6.1
LOW
CVE-2024-53988
rails-html-sanitizer has XSS vulnerability with certain configurations
Affected
1.6.0
Fixed in
1.6.1
LOW
CVE-2026-73648
Rails HTML Sanitizers: Possible XSS vulnerability with certain configurations
Affected
1.0.3, 1.0.4, 1.1.0, 1.2.0 (+13 more)
Fixed in
1.7.1
MEDIUM
CVE-2026-128068
rails-html-sanitizer: Possible regular expression denial of service with certain configurations
Affected
1.0.3, 1.0.4, 1.1.0, 1.2.0 (+14 more)
Fixed in
1.7.2
MEDIUM

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.

Data from OSV DatabaseUpdated daily200K+ vulnerabilities indexed