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, 55.2th percentile (last changed ); unchanged over 30 days. About EPSS.
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)