-
Notifications
You must be signed in to change notification settings - Fork 377
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #774 from mrtc0/report-comrak-xss
Add advisory on comrak XSS
- Loading branch information
Showing
1 changed file
with
17 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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. | ||
|