PT-2021-17596
CVE-2021-27671
·
Published
2021-02-21
·
Updated
2021-08-25
Description by
CVSS 3.1
6.1
MediumMetricsAV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Name of the Vulnerable Software and Affected Versions
comrak crate versions prior to 0.9.1
Description
An issue in the comrak crate allows cross-site scripting (XSS) to occur due to a case-sensitive protection mechanism for
data: and javascript: URIs. This enables attackers to use variations like Data: to launch an attack.Recommendations
For versions prior to 0.9.1, update to version 0.9.1 or later to resolve the issue. As a temporary workaround, consider implementing case-insensitive matching for unsafe URL prefixes, such as
data: or javascript:, to prevent exploitation. Found an issue in the description? Have something to add? Feel free to write us 👾