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
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
| — | comrak (crates.io) | before 0.9.1 | 0.9.1 | Patch available | GHSA-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
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:comrak_project:comrak:*:*:*:*:*:rust:*:* | before 0.9.1 | Vulnerable | Comrak 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
- 2026-10-02 Threatist record created from CVE-2021-27671
- 2026-10-03 Alias added: GHSA-xmr7-v725-2jjr
References
More Comrak Project Comrak vulnerabilities
- 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
- CVE-2021-27671 · CVE Program
- CVE-2021-27671 · NVD
- FIRST EPSS
- GHSA-xmr7-v725-2jjr · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences