diff --git a/crates/comrak/RUSTSEC-0000-0000.md b/crates/comrak/RUSTSEC-0000-0000.md new file mode 100644 index 0000000..5e05781 --- /dev/null +++ b/crates/comrak/RUSTSEC-0000-0000.md @@ -0,0 +1,17 @@ +```toml +[advisory] +id = "RUSTSEC-0000-0000" +package = "comrak" +date = "2021-02-21" +url = "https://github.com/kivikakk/comrak/releases/tag/0.9.1" +categories = ["format-injection"] +keywords = ["xss"] + +[versions] +patched = [">= 0.9.1"] +``` + +# XSS in `comrak` + +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. +