PT-2018-9333 · Erusev · Parsedown

Aidantwoods

·

Publicado

2018-04-18

·

Atualizado

2022-03-30

·

CVE-2018-1000162

CVSS v3.1

6.1

Média

VetorAV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Name of the Vulnerable Software and Affected Versions Parsedown versions prior to 1.7.0
Description The issue concerns a Cross Site Scripting (XSS) vulnerability in the setMarkupEscaped function for escaping HTML, which can result in JavaScript code execution. This can be exploited via specially crafted markdown that allows it to bypass HTML escaping by breaking Abstract Syntax Tree (AST) boundaries.
Recommendations For versions prior to 1.7.0, update to version 1.7.0 or later to resolve the issue. As a temporary workaround, consider restricting the use of the setMarkupEscaped function until a patch is available. Avoid using specially crafted markdown that can break AST boundaries in the affected function until the issue is resolved.

Exploit

Correção

XSS

Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾

Enumeração de Fraquezas

Identificadores relacionados

CVE-2018-1000162
GHSA-QGPV-86R3-87FH

Produtos afetados

Parsedown