{"id":"GHSA-6wj2-g87r-pm62","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.","aliases":["CVE-2021-38186","RUSTSEC-2021-0063"],"modified":"2023-11-08T04:06:25.615713Z","published":"2021-08-25T20:55:43Z","database_specific":{"github_reviewed_at":"2021-08-18T21:33:18Z","nvd_published_at":"2021-08-08T06:15:00Z","cwe_ids":["CWE-79"],"severity":"MODERATE","github_reviewed":true},"references":[{"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"},{"type":"WEB","url":"https://rustsec.org/advisories/RUSTSEC-2021-0063.html"}],"affected":[{"package":{"name":"comrak","ecosystem":"crates.io","purl":"pkg:cargo/comrak"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.10.1"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/08/GHSA-6wj2-g87r-pm62/GHSA-6wj2-g87r-pm62.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"}]}