XSS in Comrak Project
CVE-2021-38186
An issue was discovered in the comrak crate before 0.10.1 for Rust. It mishandles & characters, leading to XSS via &# HTML entities.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.1 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N.
EPSS exploit prediction
EPSS: 0.007 (52.8th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 53rd percentile — 52.8% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.007 · newest: 0.007 · change: 0.000
Affected products
Weakness classification (CWE)
References
- rustsec.org/advisories/RUSTSEC-2021-0063.html (Exploit, Patch, Third Party Advisory, Issue Tracking)
- raw.githubusercontent.com/rustsec/advisory-db/main/crates/comrak/RUSTSEC-2021-0… (Third Party Advisory)
Frequently asked questions
- What is CVE-2021-38186?
- CVE-2021-38186 is a medium-severity vulnerability in Comrak Project, classified under Cross-site Scripting. CVSS score: 6.1/10. Published 2021-08-08.
- How severe is CVE-2021-38186?
- Medium severity. CVSS v3 base score is 6.1 out of 10.