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.
Published: 2022-12-14
Score: 7.5 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

No vendor fix or workaround currently provided.

Additional remediation guidance may be available on OpenCVE Cloud.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-3566-1 ruby-rails-html-sanitizer security update
Debian DLA Debian DLA DLA-3902-1 ruby-rails-html-sanitizer security update
EUVD EUVD EUVD-2022-7520 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.
Github GHSA Github GHSA GHSA-5x79-w82f-gw8w Inefficient Regular Expression Complexity in rails-html-sanitizer
History

Mon, 03 Nov 2025 22:30:00 +0000

Type Values Removed Values Added
References

Sat, 12 Jul 2025 13:45:00 +0000

Type Values Removed Values Added
Metrics epss

{'score': 0.00204}

epss

{'score': 0.00222}


Tue, 19 Nov 2024 20:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Subscriptions

Debian Debian Linux
Redhat Satellite
Rubyonrails Rails Html Sanitizers
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2025-11-03T21:45:57.498Z

Reserved: 2022-01-19T21:23:53.778Z

Link: CVE-2022-23517

cve-icon Vulnrichment

Updated: 2025-11-03T21:45:57.498Z

cve-icon NVD

Status : Modified

Published: 2022-12-14T17:15:10.130

Modified: 2025-11-03T22:15:56.397

Link: CVE-2022-23517

cve-icon Redhat

Severity : Moderate

Publid Date: 2022-12-13T00:00:00Z

Links: CVE-2022-23517 - Bugzilla

cve-icon OpenCVE Enrichment

No data.

Weaknesses