CVE-2018-16468Loofah Project Loofah
Medium 5.4
Follow: this CVE · Loofah Project · Loofah Project Loofah We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for Loofah.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| loofah_project | loofah | ≤ 2.2.2 |
| debian | debian_linux | 9.0 |
Official advisories
- ruby4.0-rubygem-loofah-2.23.1-1.5 on GA media · SUSE · openSUSE-SU-2026:10353-1 · Mar 13, 2026 High
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- github.com Third Party Advisory
- www.debian.org Third Party Advisory