{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2021-38186","published":"2021-08-08T06:15:08.780000Z","last_modified":"2026-06-17T04:01:43.127000Z","status":"Modified","cvss":{"version":"3.1","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","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-79"],"cpes":[{"criteria":"cpe:2.3:a:comrak_project:comrak:*:*:*:*:*:rust:*:*","part":"a","vendor":"comrak_project","product":"comrak","version_end_excluding":"0.10.1"}],"cpes_truncated":false,"vendors":["comrak_project"],"products":["comrak_project/comrak"],"epss":{"score":0.00741,"percentile":0.50774,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-6wj2-g87r-pm62","ecosystem":"crates.io","name":"comrak","purl":"pkg:cargo/comrak","ranges":[{"introduced":"0","fixed":"0.10.1"}],"versions":[],"versions_truncated":false},{"advisory":"RUSTSEC-2021-0063","ecosystem":"crates.io","name":"comrak","purl":"pkg:cargo/comrak","ranges":[{"introduced":"0.0.0-0","fixed":"0.10.1"}],"versions":[],"versions_truncated":false}],"severity":"medium","priority_score":52,"links":{"html_es":"/es/cve/CVE-2021-38186/","html_en":"/en/cve/CVE-2021-38186/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-38186","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-38186"},"untrusted":{"vendor_name":"Comrak Project","product_name":"Comrak","desc_en":"An issue was discovered in the comrak crate before 0.10.1 for Rust. It mishandles & characters, leading to XSS via &# HTML entities.","affected":[],"references":[{"url":"https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/comrak/RUSTSEC-2021-0063.md","tags":["Third Party Advisory"]},{"url":"https://rustsec.org/advisories/RUSTSEC-2021-0063.html","tags":["Exploit","Issue Tracking","Patch","Third Party Advisory"]}]}}