---
title: "Ruby on Rails rails html sanitizers vulnerabilities and CVEs"
url: https://radicalnotion.ai/vendor/rubyonrails/rails-html-sanitizers
type: product
description: "Ruby on Rails rails html sanitizers has 10 published CVEs, 0 in CISA KEV and 5 with public exploits."
updated: 2024-12-02
source: RadicalNotion.AI
license: CC BY-NC 4.0 (https://creativecommons.org/licenses/by-nc/4.0/)
---

# Ruby on Rails rails html sanitizers vulnerabilities

Vendor: [Ruby on Rails](https://radicalnotion.ai/vendor/rubyonrails)

- **Published CVEs:** 10
- **In CISA KEV:** 0
- **With a public exploit:** 5
- **With a patch:** 10
- **Average CVSS:** 4.5
- **First CVE:** 2022-06-24
- **Latest CVE:** 2024-12-02

## Severity breakdown

| Severity | CVEs |
| --- | --- |
| Critical | 0 |
| High | 2 |
| Medium | 3 |
| 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 | 9 |
| [CWE-1333](https://radicalnotion.ai/cwe/cwe-1333) | Inefficient Regular Expression Complexity | 1 |

## CVEs by year

| Year | CVEs published |
| --- | --- |
| 2022 | 5 |
| 2023 | 0 |
| 2024 | 5 |

## Affected versions

| Version | Kind | CVEs |
| --- | --- | --- |
| 1.6.0 | range | 5 |
| \< 1.4.4 | range | 3 |
| \< 1.4.3 | range | 1 |
| 1.0.3 \<= v \< 1.4.4 | range | 1 |

## Fixed in

| Version | CVEs |
| --- | --- |
| 1.4.4 | 4 |
| 1.4.3 | 1 |

## CVEs

| CVE | Title | Severity | CVSS | CISA KEV | Public exploit | Patch |
| --- | --- | --- | --- | --- | --- | --- |
| 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 |

## Frequently asked questions

### How many CVEs does Ruby on Rails rails html sanitizers have?

Ruby on Rails rails html sanitizers has 10 published CVE records since 2022.

### How many Ruby on Rails rails html sanitizers CVEs are in CISA KEV?

None of Ruby on Rails rails html sanitizers's CVEs are currently listed in CISA's Known Exploited Vulnerabilities catalog.

### Are there public exploits for Ruby on Rails rails html sanitizers vulnerabilities?

Yes — 5 of Ruby on Rails rails html sanitizers's CVEs have a known public exploit.

### Which versions of Ruby on Rails rails html sanitizers are affected?

6 distinct Ruby on Rails rails html sanitizers 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 Ruby on Rails rails html sanitizers CVEs?

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

### What is the average severity of Ruby on Rails rails html sanitizers CVEs?

The average CVSS base score across Ruby on Rails rails html sanitizers's scored CVEs is 4.5.

## Other products from this vendor

- [rails](https://radicalnotion.ai/vendor/rubyonrails/rails) (124 CVEs)
- [Ruby on Rails](https://radicalnotion.ai/vendor/rubyonrails/ruby-on-rails) (53 CVEs)
- [html sanitizer](https://radicalnotion.ai/vendor/rubyonrails/html-sanitizer) (4 CVEs)
- [actionpack](https://radicalnotion.ai/vendor/rubyonrails/actionpack) (2 CVEs)
- [actionpack page-caching](https://radicalnotion.ai/vendor/rubyonrails/actionpack-page-caching) (2 CVEs)
- [Active Storage](https://radicalnotion.ai/vendor/rubyonrails/active-storage) (2 CVEs)
- [Action View](https://radicalnotion.ai/vendor/rubyonrails/action-view) (1 CVEs)
- [actionview](https://radicalnotion.ai/vendor/rubyonrails/actionview) (1 CVEs)

---

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