PT-2018-2635
CVE-2018-3740
·
Publicado
2018-03-21
·
Atualizado
2018-12-28
Descrição por
CVSS 3.1
7.5
AltaMétricasAV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Name of the Vulnerable Software and Affected Versions
Sanitize gem for Ruby versions prior to 4.6.3
Description
The issue is related to errors in input data checking in the Sanitize library for Ruby. It can be exploited by a remote attacker to bypass restrictions on the use of HTML attributes, allowing non-whitelisted attributes to be used on whitelisted HTML elements. This can lead to HTML and JavaScript injection, potentially resulting in cross-site scripting (XSS) if the output is served to browsers.
Recommendations
For Sanitize gem for Ruby versions prior to 4.6.3, update to version 4.6.3 or later to resolve the issue.
As a temporary workaround, consider restricting the use of the Sanitize gem until a patch is available.
Explorabilidade
Exploit
Correção
Impactos
Fornecedores
Produtos afetados
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾