CVE-2021-27671
XSS in `comrak`
6.1
MEDIUM
CVSS 3.1
EPSS 0.69%
Description
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.
How to fix CVE-2021-27671
To remediate CVE-2021-27671, upgrade the affected package to a fixed version below.
- crates.io/comrak—upgrade to 0.9.1 or later
- —upgrade to 0.9.1 or later
Is CVE-2021-27671 being exploited?
Low — EPSS is 0.7%, meaning exploitation activity has not been observed at scale.
Affected packages (2)
- from 0, < 0.9.1
- >= 0.0.0-0, < 0.9.1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |