CVSS 3.1
6.1 mediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:NMedium (6.1). EPSS 0.9% estimated probability of exploitation activity in the next 30 days. Fixed in rails-html-sanitizer 1.4.4.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:Nrails-html-sanitizer (RubyGems): fixed in 1.4.4Explain CVE-2022-23518 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-23518?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-23518?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-23518 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| rubyonrails:rails_html_sanitizers | from 1.0.3 before 1.4.4 |
| debian:debian_linux | 10.0 |
| loofah_project:loofah | from 2.1.0 before 2.19.1 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-mcvf-2q2m-x72m | RubyGems | rails-html-sanitizer | >=1.0.3 <1.4.4 | 1.4.4 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 10 | ruby-rails-html-sanitizer | 1.0.4-1+deb10u2 | DLA-3566-1 |
| Debian | 11 | ruby-rails-html-sanitizer | 1.3.0-1+deb11u1 | DLA-3902-1 |
| Debian | 12, 13, 14 | ruby-rails-html-sanitizer | 1.4.4-1 | DEBIAN-CVE-2022-23518 |
| Ubuntu | 16.04:LTS, 18.04:LTS, 20.04:LTS and 5 more | ruby-rails-html-sanitizer | no fix listed | UBUNTU-CVE-2022-23518 |
| Red Hat | satellite:6.13::el8 | foreman-obsolete-packages | 0:1.1-1.el8sat | RHSA-2023:2097 |
| Red Hat | satellite:6.13::el8 | postgresql-evr | 0:0.0.2-1.el8sat | RHSA-2023:2097 |
| Red Hat | satellite:6.13::el8 | python-websockify, python3-websockify | 0:0.10.0-3.el8sat | RHSA-2023:2097 |
| Red Hat | satellite:6.13::el8 | qpid-dispatch, qpid-dispatch-tools, qpid-dispatch-router and 2 more | 0:1.14.0-6.el8 | RHSA-2023:2097 |
| Red Hat | satellite:6.13::el8 | qpid-proton, qpid-proton-c, python3-qpid-proton and 5 more | 0:0.33.0-4.el8 | RHSA-2023:2097 |
| Red Hat | satellite:6.13::el8 | rubygem-acts_as_list | 0:1.0.3-2.el8sat | RHSA-2023:2097 |
| Red Hat | satellite:6.13::el8 | rubygem-algebrick, rubygem-websocket-driver, rubygem-websocket-driver-debuginfo and 1 more | 0:0.7.5-1.el8sat | RHSA-2023:2097 |
| Red Hat | satellite:6.13::el8 | rubygem-anemone | 0:0.7.2-23.el8sat | RHSA-2023:2097 |
| Red Hat | satellite:6.13::el8 | rubygem-apipie-rails | 0:0.8.2-1.1.el8sat | RHSA-2023:2097 |
| Red Hat | satellite:6.13::el8 | rubygem-azure_mgmt_compute | 0:0.22.0-1.el8sat | RHSA-2023:2097 |
| Red Hat | satellite:6.13::el8 | rubygem-azure_mgmt_network | 0:0.26.1-2.el8sat | RHSA-2023:2097 |
| Red Hat | satellite:6.13::el8 | rubygem-azure_mgmt_resources | 0:0.18.2-1.el8sat | RHSA-2023:2097 |
| 188 more for Red Hat in the JSON and on Red Hat's page. | ||||
| SUSE | Linux Enterprise High Availability Extension 15 SP1, Linux Enterprise High Availability Extension 15 SP2, Linux Enterprise High Availability Extension 15 SP3 and 2 more | rubygem-rails-html-sanitizer | 1.0.4-150000.4.6.1 | SUSE-SU-2023:3714-1 |
| SUSE | OpenStack Cloud Crowbar 8, OpenStack Cloud Crowbar 9 | rubygem-rails-html-sanitizer | 1.0.3-8.14.1 | SUSE-SU-2023:3534-1 |
| openSUSE | Leap 15.4, Leap 15.5 | rubygem-rails-html-sanitizer | 1.0.4-150000.4.6.1 | SUSE-SU-2023:3714-1 |
| openSUSE | Tumbleweed | rubygem-rails-html-sanitizer | 1.5.0-1.1 | openSUSE-SU-2024:12769-1 |
| openSUSE | Tumbleweed | rubygem-rails-html-sanitizer | 1.6.0-1.5 | openSUSE-SU-2024:14175-1 |
| openSUSE | Tumbleweed | rubygem-rails-html-sanitizer | 1.6.0-1.7 | openSUSE-SU-2025:15125-1 |
| openSUSE | Tumbleweed | rubygem-rails-html-sanitizer | 1.6.0-1.9 | openSUSE-SU-2026:10361-1 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.
Red Hat rates this Moderate.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Satellite 6.13 for RHEL 8 | tfm-rubygem-rails-html-sanitizer-0:1.4.4-1.el8sat | Fixed 2023-05-03 | RHSA-2023:2097 |
| Red Hat 3scale API Management Platform 2 | 3scale-amp-zync-container | Will not fix | |
| Red Hat Satellite 6 | satellite:el8/rubygem-rails-html-sanitizer | Affected | |
| Red Hat Satellite 6 | tfm-ror51-rubygem-rails-html-sanitizer | Out of support scope | |
| Red Hat Satellite 6 | tfm-ror52-rubygem-rails-html-sanitizer | Out of support scope |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2022-23518.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.