RUSTSEC-2021-0026

Source
https://rustsec.org/advisories/RUSTSEC-2021-0026
Import Source
https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2021-0026.json
JSON Data
https://api.osv.dev/v1/vulns/RUSTSEC-2021-0026
Aliases
Published
2021-02-21T12:00:00Z
Modified
2023-11-08T04:05:25.341735Z
Severity
  • 6.1 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
Summary
XSS in `comrak`
Details

The comrak we were matching unsafe URL prefixes, such as data: or javascript: , in a case-sensitive manner. This meant prefixes like Data: were untouched.

Database specific
{
    "license": "CC0-1.0"
}
References

Affected packages

crates.io / comrak

Package

Affected ranges

Type
SEMVER
Events
Introduced
0.0.0-0
Fixed
0.9.1

Ecosystem specific

{
    "affected_functions": null,
    "affects": {
        "os": [],
        "functions": [],
        "arch": []
    }
}

Database specific

{
    "cvss": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
    "informational": null,
    "categories": [
        "format-injection"
    ]
}