{"id":"CVE-2021-38186","details":"An issue was discovered in the comrak crate before 0.10.1 for Rust. It mishandles & characters, leading to XSS via &# HTML entities.","aliases":["GHSA-6wj2-g87r-pm62","RUSTSEC-2021-0063"],"modified":"2026-03-14T11:04:56.257006Z","published":"2021-08-08T06:15:08.780Z","references":[{"type":"ADVISORY","url":"https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/comrak/RUSTSEC-2021-0063.md"},{"type":"FIX","url":"https://rustsec.org/advisories/RUSTSEC-2021-0063.html"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/kivikakk/comrak","events":[{"introduced":"0"},{"fixed":"154479561c919e966ec24c0956e049fe5de68378"}],"database_specific":{"versions":[{"introduced":"0"},{"fixed":"0.10.1"}]}}],"versions":["0.1.0","0.1.1","0.1.2","0.1.3","0.1.4","0.1.5","0.1.6","0.1.7","0.1.8","0.1.9","0.10.0","0.10.1-rc.1","0.2.0","0.2.1","0.2.10","0.2.11","0.2.12","0.2.13","0.2.14","0.2.2","0.2.3","0.2.4","0.2.5","0.2.6","0.2.7","0.2.8","0.2.9","0.3.0","0.3.1","0.4.0","0.4.1","0.4.2","0.4.3","0.4.4","0.5.0","0.5.1","0.6.0","0.6.1","0.6.2","0.7.0","0.7.1","0.8.0","0.8.1","0.8.2","0.9.0","0.9.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-38186.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"}]}