CVE-2018-5773
published 2018-01-18CVE-2018-5773: 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…
PriorityP425medium6.1CVSS 3.0
AVNACLPRNUIRSCCLILAN
EPSS
0.81%
52.9th percentile
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.
Affected
1 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| python-markdown2_project | python-markdown2 | <= 2.3.5 | — |
CVSS provenance
nvdv3.06.1MEDIUMCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
nvdv2.04.3MEDIUMAV:N/AC:M/Au:N/C:N/I:P/A:N
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
OSV
markdown2 is vulnerable to cross-site scripting
osv·2018-07-12
CVE-2018-5773 [MEDIUM] markdown2 is vulnerable to cross-site scripting
markdown2 is vulnerable to cross-site scripting
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.
GHSA
markdown2 is vulnerable to cross-site scripting
ghsa·2018-07-12
CVE-2018-5773 [MEDIUM] CWE-79 markdown2 is vulnerable to cross-site scripting
markdown2 is vulnerable to cross-site scripting
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.
OSV
CVE-2018-5773: An issue was discovered in markdown2 (aka python-markdown2) through 2
osv·2018-01-18
CVE-2018-5773 CVE-2018-5773: An issue was discovered in markdown2 (aka python-markdown2) through 2
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.
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2018-5773 python-markdown2: Unsanitized input in markdown() method allows for cross-site scripting (XSS) [fedora-all]
bugzilla·2018-01-22·CVSS 6.1
CVE-2018-5773 [MEDIUM] CVE-2018-5773 python-markdown2: Unsanitized input in markdown() method allows for cross-site scripting (XSS) [fedora-all]
CVE-2018-5773 python-markdown2: Unsanitized input in markdown() method allows for cross-site scripting (XSS) [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: th
Bugzilla
CVE-2018-5773 python-markdown2: Unsanitized input in markdown() method allows for cross-site scripting (XSS) [epel-all]
bugzilla·2018-01-22·CVSS 6.1
CVE-2018-5773 [MEDIUM] CVE-2018-5773 python-markdown2: Unsanitized input in markdown() method allows for cross-site scripting (XSS) [epel-all]
CVE-2018-5773 python-markdown2: Unsanitized input in markdown() method allows for cross-site scripting (XSS) [epel-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of epel-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this i
Bugzilla
CVE-2018-5773 python-markdown2: Unsanitized input in markdown() method allows for cross-site scripting (XSS)
bugzilla·2018-01-22·CVSS 6.1
CVE-2018-5773 [MEDIUM] CVE-2018-5773 python-markdown2: Unsanitized input in markdown() method allows for cross-site scripting (XSS)
CVE-2018-5773 python-markdown2: Unsanitized input in markdown() method allows for cross-site scripting (XSS)
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.
External References:
https://nvd.nist.gov/vuln/detail/CVE-2018-5773
Upstream Issue:
https://github.com/trentm/python-markdown2/issues/285
Discussion:
Created python-markdown2 tracking bugs for this issue:
Affects: epel-all [bug 1536922]
Affects: fedora-all [bug 1536923]
---
This CVE Bugzilla entry is for community support informational purposes only as it does not
2018-01-18
Published