Live threats

All CVEs / Loofah Project

CVE-2018-16468Loofah Project Loofah

Medium 5.4

Priority
32
CVSS 3.0
5.4
EPSS
0.9%
probability of exploitation in 30 days · percentile 61
Auth required
Yes
Published
Oct 30, 2018
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-79
Vector
CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

What happens

In the Loofah gem for Ruby, through v2.2.2, unsanitized JavaScript may occur in sanitized output when a crafted SVG element is republished.

Original NVD text.

What to do

  1. Apply the vendor's security update for Loofah.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
RubyGems loofah < 2.2.3 2.2.3 gem "loofah", ">= 2.2.3"

Per OSV / GitHub Advisories (GHSA-g4xq-jx4w-4cjv). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
loofah_projectloofah≤ 2.2.2
debiandebian_linux9.0

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.