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
Published Dec 29, 2017
5.1
MEDIUMCVSS 4.0
EPSS 2.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.
Affected products
No data.
Configuration 1
- < 0.8.1
Configuration 2
- 26
No data.
No Red Hat product state for this CVE.
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
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
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
AV:N/AC:M/Au:N/C:N/I:P/A:N
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
- EPSS v4
Percentile over time
- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
- EPSS v4
Table of values (10 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 2.23% (0.02235) | 82.17th | v5 (v2026.06.15) |
| Jun 15, 2026 | 2.20% (0.02198) | 80.11th | v5 (v2026.06.15) |
| Mar 17, 2025 | 0.58% (0.00580) | 66.99th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.14% (0.00135) | 50.54th | v3 (v2023.03.01) |
| Sep 3, 2023 | 0.14% (0.00135) | 48.06th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.19% (0.00195) | 55.52th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.21% (0.01213) | 66.61th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.21% (0.01213) | 40.54th | v2 (v2022.01.01) |
| Feb 3, 2022 | 1.39% (0.01386) | 32.11th | v5 (v2026.06.15) |
| Apr 14, 2021 | 1.39% (0.01386) | 0.00th | v1 |
References (8)
- https://bugzilla.redhat.com/show_bug.cgi?id=1524596 x_refsource_CONFIRMIssue TrackingThird Party AdvisoryVDB Entry
- https://github.com/advisories/GHSA-98gj-wwxm-cj3h Advisory
- https://github.com/lepture/mistune/blob/master/CHANGES.rst x_refsource_CONFIRMRelease NotesThird Party Advisory
- https://github.com/lepture/mistune/commit/5f06d724bc05580e7f203db2d4a4905fc1127f98 x_refsource_CONFIRMPatchThird Party Advisory
- https://github.com/pypa/advisory-database/tree/main/vulns/mistune/PYSEC-2017-18.yaml
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NUR3GMHQBMA3UC4PFMCK6GCLOQC4LQQC/ vendor-advisoryx_refsource_FEDORA
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/NUR3GMHQBMA3UC4PFMCK6GCLOQC4LQQC
- https://nvd.nist.gov/vuln/detail/CVE-2017-16876
| Link | Providers | Tags |
|---|---|---|
| https://bugzilla.redhat.com/show_bug.cgi?id=1524596 | x_refsource_CONFIRMIssue TrackingThird Party AdvisoryVDB Entry | |
| https://github.com/advisories/GHSA-98gj-wwxm-cj3h | Advisory | |
| https://github.com/lepture/mistune/blob/master/CHANGES.rst | x_refsource_CONFIRMRelease NotesThird Party Advisory | |
| https://github.com/lepture/mistune/commit/5f06d724bc05580e7f203db2d4a4905fc1127f98 | x_refsource_CONFIRMPatchThird Party Advisory | |
| https://github.com/pypa/advisory-database/tree/main/vulns/mistune/PYSEC-2017-18.yaml | ||
| https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NUR3GMHQBMA3UC4PFMCK6GCLOQC4LQQC/ | vendor-advisoryx_refsource_FEDORA | |
| https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/NUR3GMHQBMA3UC4PFMCK6GCLOQC4LQQC | ||
| https://nvd.nist.gov/vuln/detail/CVE-2017-16876 |
Change history (0)
No recorded changes yet.