Em resumo
- CVE-2018-8048 é uma vulnerabilidade MÉDIO (CVSS 6.1) que afeta loofah, nokogiri, loofah (loofah project).
- Chance de exploração nos próximos 30 dias (EPSS): 1.9%, maior que 80.0% das vulnerabilidades.
- Correção: atualize para 2.2.1, 1.8.3 ou posterior.
| Package | Affected versions | Patched versions |
|---|
| loofah RubyGems | < 2.2.1
| 2.2.1
|
| nokogiri RubyGems | < 1.8.3
| 1.8.3
|
| loofah | < 2.2.1
| 2.2.1
|
Description
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.
NVD description
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.
Running one of these products? Scan your site to see whether it exposes a vulnerable version.
Scan my site free