Read the docs
TI-2021-09116 Aliases CVE-2021-27671GHSA-xmr7-v725-2jjr

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

Priority LOW 28CWE-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.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.

Why it matters now

EPSS 0.00686 52nd percentileScored 2026-11-07
Fix Fixed comrak (crates.io): 0.9.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.9.10.9.1Patch availableGHSA-xmr7-v725-2jjr
  • — Vendor— Affected all versions Fixed in — No fix listed CNA
  • comrak (crates.io) Vendor— Affected before 0.9.1 Fixed in 0.9.1 Patch available GHSA-xmr7-v725-2jjr

CPE configurations NVD · 1

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

Remediation

  • Fix · GHSA-xmr7-v725-2jjr comrak (crates.io) Fixed in 0.9.1 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2021-27671
  2. 2026-10-03 Alias added: GHSA-xmr7-v725-2jjr

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-15863 An issue was discovered in the comrak crate before 0.10.1 for Rust. CVSS 3.1MEDIUM 6.1

Sources