CVE-2017-16876
mistune Cross-site scripting (XSS) vulnerability
6.1
MEDIUM
CVSS 3.1
EPSS 0.23%
Description
Cross-site scripting (XSS) vulnerability in the _keyify function in mistune.py in Mistune before 0.8.1 allows remote attackers to inject arbitrary web script or HTML by leveraging failure to escape the "key" argument.
How to fix CVE-2017-16876
To remediate CVE-2017-16876, upgrade the affected package to a fixed version below.
- Debian/mistune—upgrade to 0.8.1-1 or later
- —upgrade to 0.8.1 or later
- —upgrade to 5f06d724bc05580e7f203db2d4a4905fc1127f98 or later
Is CVE-2017-16876 being exploited?
Low — EPSS is 0.2%, meaning exploitation activity has not been observed at scale.
Affected packages (3)
- from 0, < 0.8.1-1
- from 0, < 0.8.1
- from 0, < 5f06d724bc05580e7f203db2d4a4905fc1127f98 | from 0, < 0.8.1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N |
| 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 |