Advisory

GHSA-qgpv-86r3-87fh

Also known as: CVE-2018-1000162

Summary

Cross-site Scripting in Parsedown

Details

Parsedown version prior to 1.7.0 contains a Cross Site Scripting (XSS) vulnerability in setMarkupEscaped for escaping HTML that can result in JavaScript code execution. This attack appears to be exploitable via specially crafted markdown that allows it to side step HTML escaping by breaking AST boundaries. This vulnerability appears to have been fixed in 1.7.0 and later.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2022-03-30 18:26 UTC
Modified
2024-02-16 08:21 UTC

Affected packages and fixes

erusev/parsedown

Packagist · All systems

Affected

  • introduced 0, fixed 1.7.0 (ecosystem)

Fixed versions

1.7.0

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences