Vulnerability Description
An issue was discovered in the comrak crate before 0.10.1 for Rust. It mishandles & characters, leading to XSS via &# HTML entities.
CVSS Score
6.1
MEDIUM
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Comrak Project | Comrak | < 0.10.1 |
Related Weaknesses (CWE)
References
- https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/comrak/RUSTSECThird Party Advisory
- https://rustsec.org/advisories/RUSTSEC-2021-0063.htmlExploitIssue TrackingPatch
- https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/comrak/RUSTSECThird Party Advisory
- https://rustsec.org/advisories/RUSTSEC-2021-0063.htmlExploitIssue TrackingPatch
FAQ
What is CVE-2021-38186?
CVE-2021-38186 is a vulnerability with a CVSS score of 6.1 (MEDIUM). An issue was discovered in the comrak crate before 0.10.1 for Rust. It mishandles & characters, leading to XSS via &# HTML entities.
How severe is CVE-2021-38186?
CVE-2021-38186 has been rated MEDIUM with a CVSS base score of 6.1/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2021-38186?
Check the references section above for vendor advisories and patch information. Affected products include: Comrak Project Comrak.