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
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
| — | comrak (crates.io) | before 0.10.1 | 0.10.1 | Patch available | GHSA-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
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:comrak_project:comrak:*:*:*:*:*:rust:*:* | before 0.10.1 | Vulnerable | Comrak 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
- 2026-10-02 Threatist record created from CVE-2021-38186
- 2026-10-03 Alias added: GHSA-6wj2-g87r-pm62
References
Advisory 2
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-09116 An issue was discovered in the comrak crate before 0.9.1 for Rust. CVSS 3.1MEDIUM 6.1
Sources
- CVE-2021-38186 · CVE Program
- CVE-2021-38186 · NVD
- FIRST EPSS
- GHSA-6wj2-g87r-pm62 · 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