CVE-2018-5773

CVSS V2 Medium 4.3 CVSS V3 Medium 6.1
Description
An issue was discovered in markdown2 (aka python-markdown2) through 2.3.5. The safe_mode feature, which is supposed to sanitize user input against XSS, is flawed and does not escape the input properly. With a crafted payload, XSS can be triggered, as demonstrated by omitting the final '>' character from an IMG tag.
Overview
  • CVE ID
  • CVE-2018-5773
  • Assigner
  • cve@mitre.org
  • Vulnerability Status
  • Analyzed
  • Published Version
  • 2018-01-18T21:29:00
  • Last Modified Date
  • 2018-02-06T13:39:20
CPE Configuration (Product)
CPE Vulnerable Operator Version Start Version End
cpe:2.3:a:python-markdown2_project:python-markdown2:*:*:*:*:*:*:*:* 1 OR 2.3.5
CVSS Version 2
  • Version
  • 2.0
  • Vector String
  • AV:N/AC:M/Au:N/C:N/I:P/A:N
  • Access Vector
  • NETWORK
  • Access Compatibility
  • MEDIUM
  • Authentication
  • NONE
  • Confidentiality Impact
  • NONE
  • Integrity Impact
  • PARTIAL
  • Availability Impact
  • NONE
  • Base Score
  • 4.3
  • Severity
  • MEDIUM
  • Exploitability Score
  • 8.6
  • Impact Score
  • 2.9
CVSS Version 3
  • Version
  • 3.0
  • Vector String
  • CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
  • Attack Vector
  • NETWORK
  • Attack Compatibility
  • LOW
  • Privileges Required
  • NONE
  • User Interaction
  • REQUIRED
  • Scope
  • CHANGED
  • Confidentiality Impact
  • LOW
  • Availability Impact
  • NONE
  • Base Score
  • 6.1
  • Base Severity
  • MEDIUM
  • Exploitability Score
  • 2.8
  • Impact Score
  • 2.7
References
Reference URL Reference Tags
https://github.com/trentm/python-markdown2/issues/285 Third Party Advisory
History
Created Old Value New Value Data Type Notes
2022-05-10 18:49:02 Added to TrackCVE
2022-12-03 01:18:41 2018-01-18T21:29Z 2018-01-18T21:29:00 CVE Published Date updated
2022-12-03 01:18:41 2018-02-06T13:39:20 CVE Modified Date updated
2022-12-03 01:18:41 Analyzed Vulnerability Status updated