Cross-site Scripting in loofah
Loofah allows non-whitelisted attributes to be present in sanitized output when input with specially-crafted HTML fragments. Users are affected if running Loofah < 2.2.1, but only: * when running on MRI or RBX, * in combination with libxml2 >= 2.9.2. JRuby users are not affected.
01
describes (1)
Related CVEs.
| ID | severity | exploitable | ||
|---|---|---|---|---|
| CVE-2018-8048US | medium6.1 | — | ||
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. | ||||
02
references
External citations — patches, advisories, analysis.
- http://www.openwall.com/lists/oss-security/2018/03/19/5WEB
- https://github.com/advisories/GHSA-x7rv-cr6v-4vm4ADVISORY
- https://github.com/flavorjones/loofahWEB
- https://github.com/flavorjones/loofah/commit/f739cf8eac5851f328b8044281d6653f74eff116WEB
- https://github.com/flavorjones/loofah/issues/144WEB
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/loofah/CVE-2018-8048.ymlWEB
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/nokogiri/CVE-2018-8048.ymlWEB
- https://github.com/sparklemotion/nokogiri/pull/1746WEB
scry
Advisories like this name the exposed products attackers go after on your perimeter. See what is exposed on your perimeter with a free passive scan.
Free scan