{"id":"CVE-2021-38186","aliases":["GHSA-6wj2-g87r-pm62","RUSTSEC-2021-0063"],"url":"https://o3.security/vulnerability/CVE-2021-38186","summary":"Cross-site Scripting in comrak","details":"An issue was discovered in the comrak crate before 0.10.1 for Rust. It mishandles & characters, leading to XSS via &# HTML entities.","published":"2021-08-08T06:15:08.780Z","modified":"2026-07-08T22:14:59.290733Z","cvss":{"score":6.1,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"},"epss":{"score":0.00741,"percentile":0.51663,"asOf":"2026-08-28"},"cisaKev":null,"exploitsKnown":1,"affectedPackages":[{"ecosystem":"crates.io","name":"comrak","fixedVersion":"0.10.1"}],"fix":{"url":"https://github.com/kivikakk/comrak/commit/b72340cabe4749952530b4fb6b4fcc706bc973e5","label":"kivikakk/comrak@b72340c"},"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"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-38186"},{"type":"WEB","url":"https://github.com/kivikakk/comrak/commit/b72340cabe4749952530b4fb6b4fcc706bc973e5"},{"type":"PACKAGE","url":"https://github.com/kivikakk/comrak"},{"type":"WEB","url":"https://github.com/kivikakk/comrak/compare/0.10.0...0.10.1"},{"type":"WEB","url":"https://github.com/kivikakk/comrak/releases/tag/0.10.1"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-08T22:14:59.290733Z"}}