GHSA-228g-948r-83gx · Severity: medium · Ecosystem: rubygems — Improper neutralization of data URIs may allow XSS in Loofah
Loofah is a general library for manipulating and transforming HTML/XML documents and fragments, built on top of Nokogiri. Loofah >= 2.1.0, < 2.19.1 is vulnerable to cross-site scripting via the image/svg+xml media type in data URIs. This issue is patched in version 2.19.1.
Conclusion & alert: CVE-2022-23515 is rated Moderate Risk (41.5/100): CVSS Medium severity, with low exploitation likelihood (EPSS 0.26%). Mandatory action: Review affected assets and schedule remediation.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-03-04 | 0.20% | 0.26% | +0.06% |
| 2 | 2026-03-01 | 0.30% | 0.20% | -0.10% |
| 3 | 2026-02-04 | — | 0.30% | — |
Full EPSS history (24 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 6.1 | 3.1 | MEDIUM |
|
2.8 | 2.7 | [email protected] |
| 6.1 | 3.1 | MEDIUM |
|
2.8 | 2.7 | [email protected] |
GHSA-228g-948r-83gx · Severity: medium · Ecosystem: rubygems — Improper neutralization of data URIs may allow XSS in Loofah
| vendor | priority | summary | link |
|---|---|---|---|
debian
|
not yet assigned | CVE-2022-23515 not yet assigned priority: Debian including 1 source packages (ruby-loofah), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. | https://security-tracker.debian.org/tracker/CVE-2022-23515 |
redhat
|
medium | — | https://access.redhat.com/security/cve/CVE-2022-23515 |
suse
|
medium | — | https://www.suse.com/security/cve/CVE-2022-23515/ |
ubuntu
|
medium | CVE-2022-23515 medium priority: Ubuntu including 1 source packages (ruby-loofah), 13 status rows across 13 suites (bionic, focal, jammy, kinetic, lunar, mantic, noble, oracular, plucky, questing, trusty, upstream, xenial): not-affected 5, needs-triage 4, ignored 3, released 1. | https://ubuntu.com/security/CVE-2022-23515 |
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| loofah_project | loofah | >= 2.1.0, < 2.19.1 | cpe:2.3:a:loofah_project:loofah:*:*:*:*:*:ruby:*:* |
| debian | debian_linux | 10.0 | cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* |
| URL | Tags |
|---|---|
| https://github.com/flavorjones/loofah/issues/101 | Issue Tracking Third Party Advisory |
| https://github.com/flavorjones/loofah/security/advisories/GHSA-228g-948r-83gx | Third Party Advisory |
| https://hackerone.com/reports/1694173 | Permissions Required Third Party Advisory |
| https://lists.debian.org/debian-lts-announce/2023/09/msg00011.html | Mailing List Third Party Advisory |
| https://lists.debian.org/debian-lts-announce/2024/09/msg00044.html |