What’s Vulnerable › Vulnerabilities
CVE-2021-38186
- 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: yes
- Published: 2021-08-08 · updated 2026-06-17
- Weakness: CWE-79
Description
An issue was discovered in the comrak crate before 0.10.1 for Rust. It mishandles & characters, leading to XSS via &# HTML entities.
Affected products
- kivikakk comrak: before 0.10.1 — fixed in 0.10.1
How to fix
Upgrade to a fixed version: kivikakk comrak 0.10.1. Check the vendor advisory for mitigations.
References
- https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/comrak/RUSTSEC-2021-0063.md
- https://rustsec.org/advisories/RUSTSEC-2021-0063.html
- https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/comrak/RUSTSEC-2021-0063.md
- https://rustsec.org/advisories/RUSTSEC-2021-0063.html
Get alerted when CVE-2021-38186 or the next vulnerability affects your stack