{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2018-8048","published":"2018-03-27T17:29:00.757000Z","last_modified":"2026-06-17T02:04:10.727000Z","status":"Modified","cvss":{"version":"3.0","score":6.1,"severity":"MEDIUM","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-79"],"cpes":[{"criteria":"cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*","part":"o","vendor":"debian","product":"debian_linux","version":"9.0"},{"criteria":"cpe:2.3:a:loofah_project:loofah:*:*:*:*:*:ruby:*:*","part":"a","vendor":"loofah_project","product":"loofah","version_end_excluding":"2.2.1"}],"cpes_truncated":false,"vendors":["debian","loofah_project"],"products":["debian/debian_linux","loofah_project/loofah"],"epss":{"score":0.01925,"percentile":0.80577,"date":"2026-11-28","model_version":"v2026.06.15"},"cat":"os","platform":"linux","eol":false,"packages":[{"advisory":"GHSA-x7rv-cr6v-4vm4","ecosystem":"RubyGems","name":"loofah","purl":"pkg:gem/loofah","ranges":[{"introduced":"0","fixed":"2.2.1"}],"versions":["0.2.0","0.2.1","0.2.2","0.3.0","0.3.1","0.4.0","0.4.1","0.4.2","0.4.3","0.4.4","0.4.5","0.4.6","0.4.7","1.0.0","1.0.0.beta.1","1.1.0","1.2.0","1.2.1","2.0.0","2.0.1","2.0.2","2.0.3","2.1.0","2.1.0.rc1","2.1.0.rc2","2.1.1","2.2.0"],"versions_truncated":false},{"advisory":"GHSA-x7rv-cr6v-4vm4","ecosystem":"RubyGems","name":"nokogiri","purl":"pkg:gem/nokogiri","ranges":[{"introduced":"0","fixed":"1.8.3"}],"versions":["1.0.0","1.0.1","1.0.2","1.0.3","1.0.4","1.0.5","1.0.6","1.0.7","1.1.0","1.1.1","1.2.0","1.2.1","1.2.2","1.2.3","1.3.0","1.3.1","1.3.2","1.3.3","1.4.0","1.4.1","1.4.2","1.4.2.1","1.4.3","1.4.3.1","1.4.4","1.4.4.1","1.4.4.2","1.4.5","1.4.6","1.4.7","1.5.0","1.5.0.beta.1","1.5.0.beta.2","1.5.0.beta.3","1.5.0.beta.4","1.5.1","1.5.1.rc1","1.5.10","1.5.11","1.5.2","1.5.3","1.5.3.rc2","1.5.3.rc3","1.5.3.rc4","1.5.3.rc5","1.5.3.rc6","1.5.4","1.5.4.rc1","1.5.4.rc2","1.5.4.rc3","1.5.5","1.5.5.rc1","1.5.5.rc2","1.5.5.rc3","1.5.6","1.5.6.rc1","1.5.6.rc2","1.5.6.rc3","1.5.7","1.5.7.rc1","1.5.7.rc2","1.5.7.rc3","1.5.8","1.5.9","1.6.0","1.6.0.rc1","1.6.1","1.6.2","1.6.2.1","1.6.2.rc1","1.6.2.rc2","1.6.2.rc3","1.6.3","1.6.3.1","1.6.3.rc1","1.6.3.rc2","1.6.3.rc3","1.6.4","1.6.4.1","1.6.5","1.6.6.1","1.6.6.2","1.6.6.3","1.6.6.4","1.6.7","1.6.7.1","1.6.7.2","1.6.7.rc2","1.6.7.rc3","1.6.7.rc4","1.6.8","1.6.8.1","1.6.8.rc1","1.6.8.rc2","1.6.8.rc3","1.7.0","1.7.0.1","1.7.1","1.7.2","1.8.0","1.8.1","1.8.2"],"versions_truncated":false}],"severity":"medium","priority_score":52,"links":{"html_es":"/es/cve/CVE-2018-8048/","html_en":"/en/cve/CVE-2018-8048/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2018-8048","cve_org":"https://www.cve.org/CVERecord?id=CVE-2018-8048"},"untrusted":{"vendor_name":"Debian","product_name":"Debian Linux","desc_en":"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":[],"references":[{"url":"http://www.openwall.com/lists/oss-security/2018/03/19/5","tags":["Mailing List","Third Party Advisory"]},{"url":"https://github.com/flavorjones/loofah/issues/144","tags":["Third Party Advisory"]},{"url":"https://security.netapp.com/advisory/ntap-20191122-0003/","tags":[]},{"url":"https://www.debian.org/security/2018/dsa-4171","tags":["Third Party Advisory"]}]},"bulletins":[{"source":"suse","id":"openSUSE-SU-2026:10353-1","url":"https://www.suse.com/support/update/","published":"2026-03-13T00:00:00+00:00","severity":"high","exploited":false,"untrusted":{"title":"ruby4.0-rubygem-loofah-2.23.1-1.5 on GA media"}},{"source":"suse","id":"openSUSE-SU-2026:10356-1","url":"https://www.suse.com/support/update/","published":"2026-03-13T00:00:00+00:00","severity":"critical","exploited":false,"untrusted":{"title":"ruby4.0-rubygem-nokogiri-1.18.9-1.4 on GA media"}}]}