# rails-html-sanitizer (RubyGems) vulnerabilities

15 known vulnerabilities (2 high, 3 medium, 5 low), with the versions each affects and the releases that fix them.

## At a glance

- Latest release: not known (cve.now hasn't read this package's releases)
- Newest unaffected release: not known without release data
- Registry: https://rubygems.org/gems/rails-html-sanitizer

## Advisories (15)

### [CVE-2026-73648](https://cve.now/CVE-2026-73648): rails-html-sanitizer: Possible XSS vulnerability with certain configurations

- Severity: Medium 5.1
- Published: Aug 13, 2026
- Affected: from 1.0.3, fixed in 1.7.1.

### [CVE-2024-53985](https://cve.now/CVE-2024-53985): Possible XSS vulnerability with certain configurations of rails-html-sanitizer 1.6.0

- Severity: Low 2.3
- Published: Dec 2, 2024
- Affected: from 1.6.0, fixed in 1.6.1.

### [CVE-2024-53987](https://cve.now/CVE-2024-53987): Possible XSS vulnerability with certain configurations of rails-html-sanitizer 1.6.0

- Severity: Low 2.3
- Published: Dec 2, 2024
- Affected: from 1.6.0, fixed in 1.6.1.

### [CVE-2024-53986](https://cve.now/CVE-2024-53986): Possible XSS vulnerability with certain configurations of rails-html-sanitizer 1.6.0

- Severity: Low 2.3
- Published: Dec 2, 2024
- Affected: from 1.6.0, fixed in 1.6.1.

### [CVE-2024-53988](https://cve.now/CVE-2024-53988): Possible XSS vulnerability with certain configurations of rails-html-sanitizer 1.6.0

- Severity: Low 2.3
- Published: Dec 2, 2024
- Affected: from 1.6.0, fixed in 1.6.1.

### [CVE-2024-53989](https://cve.now/CVE-2024-53989): Possible XSS vulnerability with certain configurations of rails-html-sanitizer 1.6.0

- Severity: Low 2.3
- Published: Dec 2, 2024
- Affected: from 1.6.0, fixed in 1.6.1.

### [CVE-2022-23520](https://cve.now/CVE-2022-23520): rails-html-sanitizer contains an incomplete fix for an XSS vulnerability

- Severity: Medium 6.1
- Published: Dec 14, 2022
- Affected: fixed in 1.4.4.

### [CVE-2022-23519](https://cve.now/CVE-2022-23519): Possible XSS vulnerability with certain configurations of rails-html-sanitizer

- Severity: High 7.2
- Published: Dec 14, 2022
- Affected: fixed in 1.4.4.

### [CVE-2022-23518](https://cve.now/CVE-2022-23518): Improper neutralization of data URIs allows XSS in rails-html-sanitizer

- Severity: Medium 6.1
- Published: Dec 14, 2022
- Affected: from 1.0.3, fixed in 1.4.4.

### [CVE-2022-23517](https://cve.now/CVE-2022-23517): Inefficient Regular Expression Complexity in rails-html-sanitizer

- Severity: High 7.5
- Published: Dec 14, 2022
- Affected: fixed in 1.4.4.

### [CVE-2022-32209](https://cve.now/CVE-2022-32209): # Possible XSS Vulnerability in Rails::Html::SanitizerThere is a possible XSS vulnerability with certain configurations of…

- Severity: Unrated
- Published: Jun 24, 2022
- Affected: fixed in 1.4.3.

### [CVE-2018-3741](https://cve.now/CVE-2018-3741): There is a possible XSS vulnerability in all rails-html-sanitizer gem versions below 1.0.4 for Ruby.

- Severity: Unrated
- Published: Mar 30, 2018
- Affected: fixed in 1.0.4.

### [CVE-2015-7580](https://cve.now/CVE-2015-7580): Cross-site scripting (XSS) vulnerability in lib/rails/html/scrubbers.rb in the rails-html-sanitizer gem before 1.0.3 for Ruby on Rails…

- Severity: Unrated
- Published: Feb 16, 2016
- Affected: fixed in 1.0.3.

### [CVE-2015-7579](https://cve.now/CVE-2015-7579): Cross-site scripting (XSS) vulnerability in the rails-html-sanitizer gem 1.0.2 for Ruby on Rails 4.2.x and 5.x allows remote attackers to…

- Severity: Unrated
- Published: Feb 16, 2016
- Affected: fixed in 1.0.3.

### [CVE-2015-7578](https://cve.now/CVE-2015-7578): Cross-site scripting (XSS) vulnerability in the rails-html-sanitizer gem before 1.0.3 for Ruby on Rails 4.2.x and 5.x allows remote…

- Severity: Unrated
- Published: Feb 16, 2016
- Affected: fixed in 1.0.3.

---

Source: cve.now
Built by [Sazabi](https://www.sazabi.com/?utm_source=cve-now&utm_medium=markdown), AI-native observability and security: automatic issue detection, plain-language log search and live dashboards.
Page: https://cve.now/packages/rubygems/rails-html-sanitizer
Site guide for agents: https://cve.now/llms.txt
Uses NVD data; not endorsed by NVD.
