6.1

CVE-2022-23515: Improper neutralization of data URIs may allow XSS in Loofah

Modified
AliasesUBUNTU-CVE-2022-23515DEBIAN-CVE-2022-23515GHSA-228g-948r-83gx
Published 14-12-2022Last modified 03-11-2025

Vulnerability summary

CVE-2022-23515 is a medium (CVSS 6.1) vulnerability in debian debian_linux. EPSS estimates a 0.86% chance of exploitation in the next 30 days, higher than 58.5% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 6.1, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
6.1/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.86%
0%100%
Low · +0.03 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 8 · Related 5

Timeline

  1. 14-12-2022
    PublishedVulnerability first disclosed.
  2. 03-11-2025
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

5 scores · 5 sources · 1 version

EPSS trend

Probability

0.86%

Chance of exploitation in the next 30 days

Percentile

59%

Versus all other CVEs

30-day change

Increase +0.03 pp

From 0.83% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.

Debian2 products
Flavorjones1 product
Loofah_project1 product
RubyGems1 product
  • loofah≥ 2.1.0, < 2.19.1
Ubuntu1 product
  • ruby-loofahAll versions (No fix recorded)

5 vendors · 6 products

References

13 links
Show all 13 references