VDB
CVE-2018-16468
CVE-2018-16468
PUBLISHED
CVSS 5.400000095367432 MEDIUM
Loofah Cross-site Scripting vulnerability
Reported by hackerone · Published October 30, 2018
loofah is fixed in 2.2.3 and 2.2.2 (RubyGems)
In the Loofah gem for Ruby, through v2.2.2, unsanitized JavaScript may occur in sanitized output when a crafted SVG element is republished.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| loofah | RubyGems | 2.2.3, 2.2.2 |
| loofah | loofah_project | 2.2.2 |
Risk scores
CVSS 3.0
5.400000095367432
CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | Loofah (Ruby Gem) | v2.2.3 |
| RubyGems | loofah | 0 |
| n/a | Loofah (Ruby Gem) | 2.2.3 |
Timeline
- Oct 30, 2018 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Mar 17, 2026 Security Advisory (4 in total, the first dated here)
- Sep 20, 2026 CVE Updated
- Sep 23, 2026 Coalition ESS Score
- Oct 31, 2026 Distribution Patch
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2018-16468
vulnetix vdb fixes CVE-2018-16468
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2018-16468/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- DSA-4364 vendor-advisoryx_refsource_DEBIAN
- x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2018-16468 advisory