Live threats

All CVEs / Comrak Project

CVE-2021-38186Comrak Project Comrak

Medium 6.1 No auth needed

Priority
52
CVSS 3.1
6.1
EPSS
0.7%
probability of exploitation in 30 days · percentile 51
Auth required
No
Published
Aug 8, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-79
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

What happens

An issue was discovered in the comrak crate before 0.10.1 for Rust. It mishandles & characters, leading to XSS via &# HTML entities.

Original NVD text.

What to do

  1. Apply the vendor's security update for Comrak.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
crates.io comrak < 0.10.1 0.10.1 cargo update -p comrak --precise 0.10.1
crates.io comrak ≥ 0.0.0-0 < 0.10.1 0.10.1 cargo update -p comrak --precise 0.10.1

Per OSV / GitHub Advisories (GHSA-6wj2-g87r-pm62, RUSTSEC-2021-0063). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
comrak_projectcomrak< 0.10.1

Official sources

References

Links published by the sources. Open them with care.