Skip to content
CVE PROGRAM SOURCE RECORD7.5 High

CVE-2022-23517

Inefficient Regular Expression Complexity in rails-html-sanitizer

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

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

rails rails-html-sanitizer

  • < 1.4.4affected

References