Summary
It was discovered that Rails HTML Sanitizer used an inefficient regular
expression when sanitizing certain attributes. A remote attacker could
possibly use this issue to cause Rails HTML Sanitizer to use excessive
resources, leading to a denial of service. (CVE-2022-23517)
It was discovered that Rails HTML Sanitizer did not properly sanitize
certain URIs. A remote attacker could possibly use this issue to perform
cross-site scripting attacks. This issue only affected Ubuntu 18.04 LTS,
Ubuntu 20.04 LTS, and Ubuntu 22.04 LTS. (CVE-2022-23518)
It was discovered that Rails HTML Sanitizer did not properly sanitize
content under certain configurations. A remote attacker could possibly use
this issue to perform cross-site scripting attacks. (CVE-2022-23519)
It was discovered that Rails HTML Sanitizer did not properly sanitize
content under certain other configurations. A remote attacker could
possibly use these issues to perform cross-site scripting attacks.
(CVE-2022-23520, CVE-2022-32209)
Fixed packages 4
| Release | Package | Fixed in |
|---|---|---|
| Ubuntu · Pro 16.04 LTS Pro:16.04:LTS | ruby-rails-html-sanitizer | 1.0.3-2ubuntu0.1~esm1 |
| Ubuntu · Pro 18.04 LTS Pro:18.04:LTS | ruby-rails-html-sanitizer | 1.0.4-1ubuntu0.1~esm1 |
| Ubuntu · Pro 20.04 LTS Pro:20.04:LTS | ruby-rails-html-sanitizer | 1.3.0-1ubuntu0.1~esm1 |
| Ubuntu · Pro 22.04 LTS Pro:22.04:LTS | ruby-rails-html-sanitizer | 1.4.2-2ubuntu0.1~esm1 |
Vulnerabilities 5
-
High 7.5
Inefficient Regular Expression Complexity in rails-html-sanitizer
rails-html-sanitizer is responsible for sanitizing HTML fragments in Rails applications. Certain configurations of rails-html-sanitizer < 1.4.4 use an inefficient regular expression that is susceptible to excessive backtracking when attempting to sanitize cer…
-
High 7.2
Possible XSS vulnerability with certain configurations of rails-html-sanitizer
rails-html-sanitizer is responsible for sanitizing HTML fragments in Rails applications. Prior to version 1.4.4, a possible XSS vulnerability with certain configurations of Rails::Html::Sanitizer may allow an attacker to inject content if the application deve…
-
Medium 6.1
Improper neutralization of data URIs allows XSS in rails-html-sanitizer
rails-html-sanitizer is responsible for sanitizing HTML fragments in Rails applications. Versions >= 1.0.3, < 1.4.4 are vulnerable to cross-site scripting via data URIs when used in combination with Loofah >= 2.1.0. This issue is patched in version 1.4.4.
-
Medium 6.1
rails-html-sanitizer contains an incomplete fix for an XSS vulnerability
rails-html-sanitizer is responsible for sanitizing HTML fragments in Rails applications. Prior to version 1.4.4, there is a possible XSS vulnerability with certain configurations of Rails::Html::Sanitizer due to an incomplete fix of CVE-2022-32209. Rails::Htm…
-
Medium 6.1CVE-2022-32209 EPSS 30%
Rails::Html::Sanitizer vulnerable to Cross-site Scripting
# Possible XSS Vulnerability in Rails::Html::SanitizerThere is a possible XSS vulnerability with certain configurations of Rails::Html::Sanitizer.This vulnerability has been assigned the CVE identifier CVE-2022-32209.Versions Affected: ALLNot affected: NONEFi…