{"id":"CVE-2021-27671","details":"An issue was discovered in the comrak crate before 0.9.1 for Rust. XSS can occur because the protection mechanism for data: and javascript: URIs is case-sensitive, allowing (for example) Data: to be used in an attack.","aliases":["GHSA-xmr7-v725-2jjr","RUSTSEC-2021-0026"],"modified":"2026-04-12T00:10:00.692121Z","published":"2021-02-25T01:15:13.243Z","references":[{"type":"ADVISORY","url":"https://rustsec.org/advisories/RUSTSEC-2021-0026.html"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/kivikakk/comrak","events":[{"introduced":"0"},{"fixed":"b824a91c7ddde97546f32f1f1f2ac307334c8d9a"}],"database_specific":{"cpe":"cpe:2.3:a:comrak_project:comrak:*:*:*:*:*:rust:*:*","extracted_events":[{"introduced":"0"},{"fixed":"0.9.1"}],"source":"CPE_FIELD"}}],"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.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"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-27671.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"}]}