Read the docs
TI-2021-15863 Aliases CVE-2021-38186GHSA-6wj2-g87r-pm62

An issue was discovered in the comrak crate before 0.10.1 for Rust.

Priority LOW 29CWE-79Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Required
Attack complexity
Low
Impact type
Cross-site scripting
Confidentiality · integrity · availability
Low · Low · None
Fix status
Fixed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-79.

Summary

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

Why it matters now

EPSS 0.00741 54th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed comrak (crates.io): 0.10.1

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
——all versions—No fix listedCNA
—comrak (crates.io)before 0.10.10.10.1Patch availableGHSA-6wj2-g87r-pm62
  • — Vendor— Affected all versions Fixed in — No fix listed CNA
  • comrak (crates.io) Vendor— Affected before 0.10.1 Fixed in 0.10.1 Patch available GHSA-6wj2-g87r-pm62

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:comrak_project:comrak:*:*:*:*:*:rust:*:*before 0.10.1VulnerableComrak Project
  • cpe:2.3:a:comrak_project:comrak:*:*:*:*:*:rust:*:* Versions before 0.10.1 Vulnerable ·Comrak Project

Remediation

  • Fix · GHSA-6wj2-g87r-pm62 comrak (crates.io) Fixed in 0.10.1 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2021-38186
  2. 2026-10-03 Alias added: GHSA-6wj2-g87r-pm62

References

  • TI-2023-13150 Attacker controlled data in AST nodes is not validated in comrak CVSS 3.1CRITICAL 9.8
  • TI-2023-13145 Quadratic runtime when parsing Markdown in comrak CVSS 3.1HIGH 7.5
  • TI-2021-09116 An issue was discovered in the comrak crate before 0.9.1 for Rust. CVSS 3.1MEDIUM 6.1

Sources