Files
vuln-osv/data/crates.io/RUSTSEC-2021-0026.json
T

1 line
1.2 KiB
JSON

{"schema_version":"1.7.3","id":"RUSTSEC-2021-0026","published":"2021-02-21T12:00:00Z","modified":"2023-11-08T04:05:25.341735Z","aliases":["CVE-2021-27671","GHSA-xmr7-v725-2jjr"],"summary":"XSS in `comrak`","details":"The [comrak](https://github.com/kivikakk/comrak) we were matching unsafe URL prefixes, such as `data:` or `javascript:` , in a case-sensitive manner. This meant prefixes like `Data:` were untouched.","affected":[{"package":{"name":"comrak","ecosystem":"crates.io","purl":"pkg:cargo/comrak"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.0.0-0"},{"fixed":"0.9.1"}]}],"ecosystem_specific":{"affected_functions":null,"affects":{"arch":[],"functions":[],"os":[]}},"database_specific":{"categories":["format-injection"],"cvss":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","informational":null,"source":"https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2021-0026.json"}}],"references":[{"type":"PACKAGE","url":"https://crates.io/crates/comrak"},{"type":"ADVISORY","url":"https://rustsec.org/advisories/RUSTSEC-2021-0026.html"},{"type":"WEB","url":"https://github.com/kivikakk/comrak/releases/tag/0.9.1"}],"database_specific":{"license":"CC0-1.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"}]}