What’s Vulnerable › Vulnerabilities
CVE-2021-27671
- Severity: medium (CVSS 6.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.7% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2021-02-25 · updated 2026-06-17
- Weakness: CWE-79
Description
An issue was discovered in the comrak crate before 0.9.1 for Rust. XSS can occur because the protection mechanism for data: and javascript: URIs is case-sensitive, allowing (for example) Data: to be used in an attack.
Affected products
- kivikakk comrak: before 0.9.1 — fixed in 0.9.1
How to fix
Upgrade to a fixed version: kivikakk comrak 0.9.1. Check the vendor advisory for mitigations.
References
- https://rustsec.org/advisories/RUSTSEC-2021-0026.html
- https://rustsec.org/advisories/RUSTSEC-2021-0026.html
Get alerted when CVE-2021-27671 or the next vulnerability affects your stack