PT-2021-17596 · Comrak · Comrak
Kivikakk
·
Published
2021-02-21
·
Updated
2021-08-25
·
CVE-2021-27671
CVSS v3.1
6.1
Medium
| Vector | AV: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
Affected Products
Comrak