ghsa-p6h9-gw49-rqm4
Vulnerability from github
Published
2018-07-12 20:29
Modified
2024-09-30 17:00
Severity ?
6.1 (Medium) - CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
5.3 (Medium) - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
5.3 (Medium) - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
VLAI Severity ?
Summary
markdown2 is vulnerable to cross-site scripting
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.
{ "affected": [ { "package": { "ecosystem": "PyPI", "name": "markdown2" }, "ranges": [ { "events": [ { "introduced": "0" }, { "fixed": "2.3.6" } ], "type": "ECOSYSTEM" } ] } ], "aliases": [ "CVE-2018-5773" ], "database_specific": { "cwe_ids": [ "CWE-79" ], "github_reviewed": true, "github_reviewed_at": "2020-06-16T21:48:21Z", "nvd_published_at": null, "severity": "MODERATE" }, "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 `\u003e` character from an IMG tag.", "id": "GHSA-p6h9-gw49-rqm4", "modified": "2024-09-30T17:00:47Z", "published": "2018-07-12T20:29:21Z", "references": [ { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-5773" }, { "type": "WEB", "url": "https://github.com/google/osv/issues/430" }, { "type": "WEB", "url": "https://github.com/trentm/python-markdown2/issues/285" }, { "type": "WEB", "url": "https://github.com/trentm/python-markdown2/pull/303" }, { "type": "WEB", "url": "https://github.com/trentm/python-markdown2/commit/1b1dcdd727c0ef03453b9f5ef5ae3679f1d72323" }, { "type": "ADVISORY", "url": "https://github.com/advisories/GHSA-p6h9-gw49-rqm4" }, { "type": "WEB", "url": "https://github.com/pypa/advisory-database/tree/main/vulns/markdown2/PYSEC-2018-13.yaml" }, { "type": "PACKAGE", "url": "https://github.com/trentm/python-markdown2" }, { "type": "WEB", "url": "https://github.com/trentm/python-markdown2/blob/master/CHANGES.md#python-markdown2-236" } ], "schema_version": "1.4.0", "severity": [ { "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N", "type": "CVSS_V3" }, { "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N", "type": "CVSS_V4" } ], "summary": "markdown2 is vulnerable to cross-site scripting" }
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…