PT-2021-21993
CVE-2021-38186
·
Published
2021-05-04
·
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 versions prior to 0.10.1
Description:
An issue in the comrak crate for Rust mishandles & characters, leading to XSS via &# HTML entities. This occurs because ampersands were not being correctly escaped in link targets, making it possible to fashion unsafe URLs using schemes like
data: or javascript: by entering them as HTML entities.Recommendations:
For versions prior to 0.10.1, update to version 0.10.1 or later to resolve the issue. As a temporary workaround, consider restricting the use of link targets with HTML entities to minimize the risk of exploitation.
Exploitability
Exploit
Fix
Impacts
Researchers
Vendors
Affected products
Found an issue in the description? Have something to add? Feel free to write us 👾