---
title: "Rails rails-html-sanitizer vulnerabilities and CVEs"
url: https://radicalnotion.ai/vendor/rails/rails-html-sanitizer
type: product
description: "Rails rails-html-sanitizer has 15 published CVEs, 0 in CISA KEV and 5 with public exploits."
updated: 2026-08-13
source: RadicalNotion.AI
license: CC BY-NC 4.0 (https://creativecommons.org/licenses/by-nc/4.0/)
---

# Rails rails-html-sanitizer vulnerabilities

Vendor: [Rails](https://radicalnotion.ai/vendor/rails)

- **Published CVEs:** 15
- **In CISA KEV:** 0
- **With a public exploit:** 5
- **With a patch:** 15
- **Average CVSS:** 4.9
- **First CVE:** 2016-02-16
- **Latest CVE:** 2026-08-13
- **Ecosystems:** gem

## Severity breakdown

| Severity | CVEs |
| --- | --- |
| Critical | 0 |
| High | 2 |
| Medium | 8 |
| Low | 5 |
| Unscored | 0 |

## Most common weakness types

| CWE | Name | CVEs |
| --- | --- | --- |
| [CWE-79](https://radicalnotion.ai/cwe/cwe-79) | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | 14 |
| [CWE-1333](https://radicalnotion.ai/cwe/cwe-1333) | Inefficient Regular Expression Complexity | 1 |

## CVEs by year

| Year | CVEs published |
| --- | --- |
| 2016 | 3 |
| 2017 | 0 |
| 2018 | 1 |
| 2019 | 0 |
| 2020 | 0 |
| 2021 | 0 |
| 2022 | 5 |
| 2023 | 0 |
| 2024 | 5 |
| 2025 | 0 |
| 2026 | 1 |

## Affected versions (top 30 of 38)

| Version | Kind | CVEs |
| --- | --- | --- |
| 1.0.3 | exact | 7 |
| 1.0.4 | exact | 6 |
| 1.1.0 | exact | 6 |
| 1.2.0 | exact | 6 |
| 1.3.0 | exact | 6 |
| 1.4.0 | exact | 6 |
| 1.4.1 | exact | 6 |
| 1.4.2 | exact | 6 |
| 1.6.0 | exact | 6 |
| 1.0.0 | exact | 5 |
| 1.0.1 | exact | 5 |
| 1.0.2 | exact | 5 |
| \>= 1.6.0, \< 1.6.1 | range | 5 |
| 1.6.0 \<= v \< 1.6.1 | range | 5 |
| \< 1.0.3 | range | 3 |
| \< 1.4.4 | range | 3 |
| \< 1.0.4 | range | 1 |
| \< 1.4.3 | range | 1 |
| \<= 1.0.3 | range | 1 |
| \<= 10.0 | range | 1 |
| \<= 35 | range | 1 |
| \<= 36 | range | 1 |
| \>= 1.0.3, \< 1.4.4 | range | 1 |
| \>= 1.0.3, \< 1.7.1 | range | 1 |
| 1.6.1 | patched | 5 |
| 1.4.4 | patched | 4 |
| 1.0.3 | patched | 3 |
| 1.0.4 | patched | 1 |
| 1.4.3 | patched | 1 |
| 1.7.1 | patched | 1 |

## CVEs

| CVE | Title | Severity | CVSS | CISA KEV | Public exploit | Patch |
| --- | --- | --- | --- | --- | --- | --- |
| CVE-2026-73648 | rails-html-sanitizer: Possible XSS vulnerability with certain configurations | medium | 5.1 | No | No | Yes |
| CVE-2024-53985 | Possible XSS vulnerability with certain configurations of rails-html-sanitizer 1.6.0 | low | 2.3 | No | Yes | Yes |
| CVE-2024-53987 | Possible XSS vulnerability with certain configurations of rails-html-sanitizer 1.6.0 | low | 2.3 | No | No | Yes |
| CVE-2024-53986 | Possible XSS vulnerability with certain configurations of rails-html-sanitizer 1.6.0 | low | 2.3 | No | No | Yes |
| CVE-2024-53988 | Possible XSS vulnerability with certain configurations of rails-html-sanitizer 1.6.0 | low | 2.3 | No | No | Yes |
| CVE-2024-53989 | Possible XSS vulnerability with certain configurations of rails-html-sanitizer 1.6.0 | low | 2.3 | No | No | Yes |
| CVE-2022-23520 | rails-html-sanitizer contains an incomplete fix for an XSS vulnerability | medium | 6.1 | No | Yes | Yes |
| CVE-2022-23519 | Possible XSS vulnerability with certain configurations of rails-html-sanitizer | high | 7.2 | No | Yes | Yes |
| CVE-2022-23518 | Improper neutralization of data URIs allows XSS in rails-html-sanitizer | medium | 6.1 | No | Yes | Yes |
| CVE-2022-23517 | Inefficient Regular Expression Complexity in rails-html-sanitizer | high | 7.5 | No | No | Yes |
| CVE-2022-32209 | Rails::Html::Sanitizer vulnerable to Cross-site Scripting | medium | 6.1 | No | Yes | Yes |
| CVE-2018-3741 | rails-html-sanitizer Cross-site Scripting vulnerability | medium | 6.1 | No | No | Yes |
| CVE-2015-7580 | rails-html-sanitizer Cross-site Scripting vulnerability | medium | 6.1 | No | No | Yes |
| CVE-2015-7579 | rails-html-sanitizer Cross-site Scripting vulnerability | medium | 6.1 | No | No | Yes |
| CVE-2015-7578 | rails-html-sanitizer Cross-site Scripting vulnerability | medium | 6.1 | No | No | Yes |

## Frequently asked questions

### How many CVEs does Rails rails-html-sanitizer have?

Rails rails-html-sanitizer has 15 published CVE records since 2016.

### How many Rails rails-html-sanitizer CVEs are in CISA KEV?

None of Rails rails-html-sanitizer's CVEs are currently listed in CISA's Known Exploited Vulnerabilities catalog.

### Are there public exploits for Rails rails-html-sanitizer vulnerabilities?

Yes — 5 of Rails rails-html-sanitizer's CVEs have a known public exploit.

### Which versions of Rails rails-html-sanitizer are affected?

38 distinct Rails rails-html-sanitizer versions are named across its CVEs. Use the version filter above to see the CVEs affecting a specific version.

### What are the most common weakness types in Rails rails-html-sanitizer CVEs?

Rails rails-html-sanitizer's CVEs most often map to these CWE weakness types: CWE-79 (Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')), CWE-1333 (Inefficient Regular Expression Complexity).

### What is the average severity of Rails rails-html-sanitizer CVEs?

The average CVSS base score across Rails rails-html-sanitizer's scored CVEs is 4.9.

## Other products from this vendor

- [rails](https://radicalnotion.ai/vendor/rails/rails) (110 CVEs)
- [actionpack](https://radicalnotion.ai/vendor/rails/actionpack) (46 CVEs)
- [activerecord](https://radicalnotion.ai/vendor/rails/activerecord) (15 CVEs)
- [ActiveSupport](https://radicalnotion.ai/vendor/rails/activesupport) (13 CVEs)
- [activestorage](https://radicalnotion.ai/vendor/rails/activestorage) (9 CVEs)
- [actionview](https://radicalnotion.ai/vendor/rails/actionview) (8 CVEs)
- [https://github.com/rails/rails](https://radicalnotion.ai/vendor/rails/https-github-com-rails-rails) (3 CVEs)
- [actionmailer](https://radicalnotion.ai/vendor/rails/actionmailer) (2 CVEs)

---

Source: [RadicalNotion.AI](https://radicalnotion.ai/vendor/rails/rails-html-sanitizer). Licensed CC BY-NC 4.0; attribute RadicalNotion.AI and link the source page when you reuse this data.
