Approved changes feed: RSS · Atom

cpe:2.3:a:loofah_project:loofah:*:*:*:*:*:ruby:*:*

part: a version: * update: *

VendorLoofah Project (1e3cc846-8d39-5806-ac5d-5e278ccb162d)
ProductLoofah (4165553f-7e81-5828-bde6-9cee25a9923b)
Edition*
Language*
Software edition*
Target softwareruby
Target hardware*
Other*

Notes

Imported from purl2cpe mapping

PURL mappings

PURLSourceLast updated
pkg:deb/debian/ruby-loofah purl2cpe 2026-06-01 10:17:47.855969
pkg:deb/ubuntu/ruby-loofah purl2cpe 2026-06-01 10:17:47.855970
pkg:gem/loofah purl2cpe 2026-06-01 10:17:47.855972
pkg:github/flavorjones/loofah purl2cpe 2026-06-01 10:17:47.855973
pkg:gitlab/kalilinux/ruby-loofah purl2cpe 2026-06-01 10:17:47.855975
pkg:rpm/fedora/rubygem-loofah purl2cpe 2026-06-01 10:17:47.855976
pkg:rpm/opensuse/rubygem-loofah purl2cpe 2026-06-01 10:17:47.855977

Vulnerability references

IdentifiercpeApplicabilitySubmitteddb.gcve.eu detailsRationale
CVE:CVE-2022-23518 vulnerable 2026-06-08 05:40:57.682475 Improper neutralization of data URIs allows XSS in rails-html-sanitizer
MEDIUM (6.1)
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.
Published: 2022-12-14T16:22:34.460Z
Updated: 2025-11-03T21:45:59.030Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2022-23516 vulnerable 2026-06-08 05:40:57.678889 Uncontrolled Recursion in Loofah
HIGH (7.5)
Loofah is a general library for manipulating and transforming HTML/XML documents and fragments, built on top of Nokogiri. Loofah >= 2.2.0, < 2.19.1 uses recursion for sanitizing CDATA sections, making it susceptible to stack exhaustion and raising a SystemStackError exception. This may lead to a denial of service through CPU resource consumption. This issue is patched in version 2.19.1. Users who are unable to upgrade may be able to mitigate this vulnerability by limiting the length of the strings that are sanitized.
Published: 2022-12-14T13:26:11.741Z
Updated: 2025-11-03T21:45:56.014Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2022-23515 vulnerable 2026-06-08 05:40:57.678352 Improper neutralization of data URIs may allow XSS in Loofah
MEDIUM (6.1)
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.
Published: 2022-12-14T13:23:02.054Z
Updated: 2025-11-03T21:45:54.553Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2022-23514 vulnerable 2026-06-08 05:40:57.677901 Inefficient Regular Expression Complexity in Loofah
HIGH (7.5)
Loofah is a general library for manipulating and transforming HTML/XML documents and fragments, built on top of Nokogiri. Loofah < 2.19.1 contains 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 is patched in version 2.19.1.
Published: 2022-12-14T13:19:25.943Z
Updated: 2025-11-03T21:45:53.018Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2019-15587 vulnerable 2026-06-08 05:12:57.628919 Details available
In the Loofah gem for Ruby through v2.3.0 unsanitized JavaScript may occur in sanitized output when a crafted SVG element is republished.
Published: 2019-10-22T20:07:47.000Z
Updated: 2024-08-05T00:49:13.632Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2018-8048 vulnerable 2026-06-08 05:12:05.140287 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data
CVE:CVE-2018-16468 vulnerable 2026-06-08 05:11:04.896589 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data

Contribute

You can submit an edit proposal for this CPE entry or suggest a related product/vendor addition using the action button above.

Inspect record JSON

Open JSON directly

Open this panel to browse, search, copy or download the JSON record.