PT-2021-17596 · Comrak · Comrak

Kivikakk

·

Published

2021-02-21

·

Updated

2021-08-25

·

CVE-2021-27671

CVSS v3.1

6.1

Medium

VectorAV: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.

Fix

XSS

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2021-27671
GHSA-XMR7-V725-2JJR
RUSTSEC-2021-0026

Affected Products

Comrak