CVE-2022-23518
Improper neutralization of data URIs allows XSS in rails-html-sanitizer
Severity Score
Exploit Likelihood
Affected Versions
Public Exploits
1Exploited in Wild
-Decision
Descriptions
rails-html-sanitizer is responsible for sanitizing HTML fragments in Rails applications. Versions >= 1.0.3, < 1.4.4 are vulnerable to cross-site scripting via data URIs when used in combination with Loofah >= 2.1.0. This issue is patched in version 1.4.4.
rails-html-sanitizer es responsable de sanitizar fragmentos HTML en aplicaciones Rails. Las versiones >= 1.0.3, < 1.4.4 son vulnerables a Cross-Site Scripting (XSS) a través de URI de datos cuando se usan en combinación con Loofah >= 2.1.0. Este problema está parcheado en la versión 1.4.4.
A Cross-site scripting vulnerability was found in rails-html-sanitizer. When used in combination with Loofah since version 2.1.0, improper neutralization of data URIs may allow Cross-site scripting.
CVSS Scores
SSVC
- Decision:-
Timeline
- 2022-01-19 CVE Reserved
- 2022-12-14 CVE Published
- 2024-07-06 EPSS Updated
- 2024-08-03 CVE Updated
- 2024-08-03 First Exploit
- ---------- Exploited in Wild
- ---------- KEV Due Date
CWE
- CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
CAPEC
References (5)
URL | Tag | Source |
---|---|---|
https://github.com/rails/rails-html-sanitizer/security/advisories/GHSA-mcvf-2q2m-x72m | Third Party Advisory | |
https://lists.debian.org/debian-lts-announce/2023/09/msg00012.html | Mailing List |
URL | Date | SRC |
---|---|---|
https://github.com/rails/rails-html-sanitizer/issues/135 | 2024-08-03 |
URL | Date | SRC |
---|
URL | Date | SRC |
---|---|---|
https://access.redhat.com/security/cve/CVE-2022-23518 | 2023-05-03 | |
https://bugzilla.redhat.com/show_bug.cgi?id=2153701 | 2023-05-03 |
Affected Vendors, Products, and Versions
Vendor | Product | Version | Other | Status | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Vendor | Product | Version | Other | Status | <-- --> | Vendor | Product | Version | Other | Status |
Rubyonrails Search vendor "Rubyonrails" | Rails Html Sanitizers Search vendor "Rubyonrails" for product "Rails Html Sanitizers" | >= 1.0.3 < 1.4.4 Search vendor "Rubyonrails" for product "Rails Html Sanitizers" and version " >= 1.0.3 < 1.4.4" | rails |
Affected
| ||||||
Debian Search vendor "Debian" | Debian Linux Search vendor "Debian" for product "Debian Linux" | 10.0 Search vendor "Debian" for product "Debian Linux" and version "10.0" | - |
Affected
| ||||||
Loofah Project Search vendor "Loofah Project" | Loofah Search vendor "Loofah Project" for product "Loofah" | >= 2.1.0 < 2.19.1 Search vendor "Loofah Project" for product "Loofah" and version " >= 2.1.0 < 2.19.1" | ruby |
Affected
|