CVE-2017-16876

Current 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.

Basic Data

PublishedDecember 29, 2017
Last ModifiedJanuary 10, 2018
Assignercve@mitre.org
Data TypeCVE
Data FormatMITRE
Data Version4.0
Problem TypeCWE-79
CVE Data Version4.0

Base Metric V2

CVSS 2 - Version2.0
CVSS 2 - Vector StringAV:N/AC:M/Au:N/C:N/I:P/A:N
CVSS 2 - Access VectorNETWORK
CVSS 2 - Access ComplexityMEDIUM
CVSS 2 - AuthenticationNONE
CVSS 2 - Confidentiality ImpactNONE
CVSS 2 - Availability ImpactNONE
CVSS 2 - Base Score4.3
SeverityMEDIUM
Exploitability Score8.6
Impact Score2.9
Obtain All Privilegefalse
Obtain User Privilegefalse
Obtain Other Privilegefalse

Base Metric V3

CVSS 3 - Version3.0
CVSS 3 - Vector StringCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
CVSS 3 - Attack VectorNETWORK
CVSS 3 - Attack ComplexityLOW
CVSS 3 - Privileges RequiredNONE
CVSS 3 - User InteractionREQUIRED
CVSS 3 - ScopeCHANGED
CVSS 3 - Confidentiality ImpactLOW
CVSS 3 - Integrity ImpactLOW
CVSS 3 - Availability ImpactNONE
CVSS 3 - Base Score6.1
CVSS 3 - Base SeverityMEDIUM
Exploitability Score2.8
Base SeverityMEDIUM

Configurations

  • OR - Configuration 1
    Cpe VersionPartVendorProductVersionUpdateEditionLanguageSW EditionTarget SWTarget HWOtherVersion Start IncludingVersion End IncludingVersion Start ExcludingVersion End Excluding
    2.3ApplicationMistune ProjectMistune********0.8.1
  • OR - Configuration 2
    Cpe VersionPartVendorProductVersionUpdateEditionLanguageSW EditionTarget SWTarget HWOtherVersion Start IncludingVersion End IncludingVersion Start ExcludingVersion End Excluding
    2.3OSFedoraprojectFedora26*******

Vulnerable Software List

VendorProductVersions
Mistune Project Mistune *
Fedoraproject Fedora 26

References

NameSourceURLTags
https://bugzilla.redhat.com/show_bug.cgi?id=1524596https://bugzilla.redhat.com/show_bug.cgi?id=1524596CONFIRMIssue Tracking Third Party Advisory VDB Entry
https://github.com/lepture/mistune/blob/master/CHANGES.rsthttps://github.com/lepture/mistune/blob/master/CHANGES.rstCONFIRMRelease Notes Third Party Advisory
https://github.com/lepture/mistune/commit/5f06d724bc05580e7f203db2d4a4905fc1127f98https://github.com/lepture/mistune/commit/5f06d724bc05580e7f203db2d4a4905fc1127f98CONFIRMPatch Third Party Advisory
FEDORA-2017-7b4149911ahttps://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/NUR3GFEDORAMailing List Third Party Advisory