Skip to content
7.5 High

CVE-2022-23517 rails-html-sanitizer is responsible for sanitizing HTML fragments in Rails applications

Description

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 certain SVG attributes. This may lead to a denial of service through CPU resource consumption. This issue has been patched in version 1.4.4.

Affected products and versions

Product Affected versions Fixed in
rails-html-sanitizer 1.4 earliest → < 1.4.4 1.4.4

References

Timeline

  1. Published
  2. Last modified
The 11 CVEs of rails-html-sanitizer →
Track this CVE