CVE-2022-23517 Details
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.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Feb 2, 2024References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/rails/rails-html-sanitizer/commit/56c61c0cebd1e493e8ad7bca2a0191609a4a6979 | CVE | PatchThird Party Advisory |
| https://github.com/rails/rails-html-sanitizer/security/advisories/GHSA-5x79-w82f-gw8w | CVE | Third Party Advisory |
| https://hackerone.com/reports/1684163 | CVE | Permissions RequiredThird Party Advisory |
| https://lists.debian.org/debian-lts-announce/2023/09/msg00012.html | CVE | Mailing ListThird Party Advisory |
| https://lists.debian.org/debian-lts-announce/2024/09/msg00045.html | CVE | |
| https://github.com/rails/rails-html-sanitizer/commit/56c61c0cebd1e493e8ad7bca2a0191609a4a6979 | [email protected] | PatchThird Party Advisory |
| https://github.com/rails/rails-html-sanitizer/security/advisories/GHSA-5x79-w82f-gw8w | [email protected] | Third Party Advisory |
| https://hackerone.com/reports/1684163 | [email protected] | Permissions RequiredThird Party Advisory |
| https://lists.debian.org/debian-lts-announce/2023/09/msg00012.html | [email protected] | Mailing ListThird Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-1333 | Inefficient Regular Expression Complexity | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| rubyonrails rails html sanitizers | < 1.4.4 |
CPE
Remediation
| |
| debian debian linux | 10.0 |
CPE
Remediation
| |
Change History
8 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Nov 3, 2025 | CVE Modified | CVE |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Feb 1, 2024 | Modified Analysis | [email protected] |
| Sep 13, 2023 | CVE Modified | [email protected] |
| Dec 16, 2022 | Initial Analysis | [email protected] |