PT-2023-27208

CVE-2023-40013

·

Publicado

2023-08-14

·

Atualizado

2023-08-23

Descrição por

CVSS 3.1
9.8
Crítica
MétricasAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions svg-loader versions prior to 1.6.9
Description The svg-loader library has insufficient input sanitization logic, allowing an attacker to craft a malicious SVG that can result in Cross-site Scripting (XSS). The library removes event attributes such as onmouseover and onclick but the list of events is not exhaustive, making it possible to bypass the sanitization. Any website that uses external-svg-loader and allows users to provide SVG sources or upload SVG files would be susceptible to a stored XSS attack.
Recommendations For versions prior to 1.6.9, upgrade to version 1.6.9 or later to address the issue. As a temporary workaround, consider disabling the use of external SVG files or restricting user uploads to minimize the risk of exploitation. Avoid using the onbegin attribute in the animate tag, as it can be used to execute JavaScript code without needing to add data-js="enabled".
Explorabilidade
Exploit
Correção
Impactos
Pesquisadores
Fornecedores
Produtos afetados
Identificadores relacionados
GHSA-XC2R-JF2X-GJR8
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾