GHSA-p6h9-gw49-rqm4

    Dashboard / Vulnerabilities / GHSA-p6h9-gw49-rqm4

    GHSA-p6h9-gw49-rqm4

    Published: 12 Jul 2018Last Modified: 30 Sept 2024

    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 packages

    Package

    Name: markdown2

    Purl: pkg:pypi/markdown2

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -2.3.6

    Affected 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

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    GHSA-p6h9-gw49-rqm4 | CVE-DB