pysec-2018-13
Vulnerability from pysec
Published
2018-01-18 21:29
Modified
2021-06-16 00:03
Details
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.
Impacted products
Name | purl | markdown2 | pkg:pypi/markdown2 |
---|
Aliases
{ "affected": [ { "package": { "ecosystem": "PyPI", "name": "markdown2", "purl": "pkg:pypi/markdown2" }, "ranges": [ { "events": [ { "introduced": "0" }, { "fixed": "2.3.6" } ], "type": "ECOSYSTEM" } ], "versions": [ "1.0.1.10", "1.0.1.11", "1.0.1.12", "1.0.1.13", "1.0.1.14", "1.0.1.15", "1.0.1.16", "1.0.1.17", "1.0.1.18", "1.0.1.19", "1.0.1.6", "1.0.1.7", "1.0.1.8", "1.0.1.9", "1.1.0", "1.1.1", "1.2.0", "1.3.0", "1.3.1", "1.4.0", "1.4.1", "1.4.2", "2.0.0", "2.0.1", "2.1.0", "2.2.0", "2.2.1", "2.2.2", "2.2.3", "2.3.0", "2.3.1", "2.3.2", "2.3.3", "2.3.4", "2.3.5" ] } ], "aliases": [ "CVE-2018-5773", "GHSA-p6h9-gw49-rqm4" ], "details": "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 \u0027\u003e\u0027 character from an IMG tag.", "id": "PYSEC-2018-13", "modified": "2021-06-16T00:03:23.657711Z", "published": "2018-01-18T21:29:00Z", "references": [ { "type": "REPORT", "url": "https://github.com/trentm/python-markdown2/issues/285" }, { "type": "ADVISORY", "url": "https://github.com/advisories/GHSA-p6h9-gw49-rqm4" } ] }
Loading…
Loading…
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.
Loading…