cbcvebase.
CVE-2018-8048
published 2018-03-27

CVE-2018-8048: In the Loofah gem through 2.2.0 for Ruby, non-whitelisted HTML attributes may occur in sanitized output by republishing a crafted HTML fragment.

PriorityP426medium6.1CVSS 3.0
AVNACLPRNUIRSCCLILAN
EPSS
1.98%
78.1th percentile
In the Loofah gem through 2.2.0 for Ruby, non-whitelisted HTML attributes may occur in sanitized output by republishing a crafted HTML fragment.

Affected

9 ranges
VendorProductVersion rangeFixed in
debiandebian_linux
debianruby-loofah< ruby-loofah 2.2.1-1 (bookworm)ruby-loofah 2.2.1-1 (bookworm)
debianruby-rails-html-sanitizer< ruby-rails-html-sanitizer 1.0.4-1 (bookworm)ruby-rails-html-sanitizer 1.0.4-1 (bookworm)
loofah_projectloofah< 2.2.12.2.1
loofah_projectloofah>= 0 < 2.2.12.2.1
nokogirinokogiri>= 0 < 1.8.31.8.3
railsrails-html-sanitizer<= 1.0.3
railsrails-html-sanitizer>= 0 < 1.0.41.0.4
rubyonrailshtml_sanitizer<= 1.0.3

CVSS provenance

nvdv3.06.1MEDIUMCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
nvdv2.04.3MEDIUMAV:N/AC:M/Au:N/C:N/I:P/A:N
ghsa6.1MEDIUM
osv6.1MEDIUM
vendor_debian6.1MEDIUM
vendor_redhat6.1MEDIUM
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.