Skip to content

← Public intelligence

PyPI package

markdown2

Open actionable advisories and recorded vendor fixes. This public package view has no inventory attached and cannot establish whether your deployment is affected. A vendor fix never resolves your finding; verify your installed version and the source guidance.

Open advisories

4 actionable advisories, newest first. Withdrawn advisories and news are excluded. Coverage is partial.

  1. Medium, CVSS 5.3PyPIAmendedPublished

    Cross-site scripting in markdown2 for python

    CVE-2009-3724 · GHSA-72cx-5ff9-4hhc

    Affected
    • PyPI markdown2 <= 1.0.1.13
    Fixed in
    1.0.1.14· Vendor fix available
    Issue
    python-markdown2 before 1.0.1.14 has multiple cross-site scripting (XSS) issues.

    Recommended action: Upgrade to 1.0.1.14 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  2. High, CVSS 8.7PyPIAmendedPublished

    markdown2 Regular Expression Denial of Service

    CVE-2021-26813 · GHSA-jr9p-r423-9m2r

    Affected
    • PyPI markdown2 >= 1.0.1.18, < 2.4.0
    Fixed in
    2.4.0· Vendor fix available
    Issue
    markdown2 =1.0.1.18, fixed in 2.4.0, is affected by a regular expression denial of service vulnerability. If an attacker provides a malicious string, it can make markdown2 processing difficult or delayed for an extended period of time.

    Recommended action: Upgrade to 2.4.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  3. Medium, CVSS 5.1PyPIAmendedPublished

    XSS in python-markdown2

    CVE-2020-11888 · GHSA-fv3h-8x5j-pvgq

    Affected
    • PyPI markdown2 <= 2.3.8
    Fixed in
    2.3.9· Vendor fix available
    Issue
    python-markdown2 through 2.3.8 allows XSS because element names are mishandled unless a \w+ match succeeds. For example, an attack might use elementname@ or elementname- with an onclick attribute.

    Recommended action: Upgrade to 2.3.9 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  4. Medium, CVSS 5.3PyPIAmendedPublished

    markdown2 is vulnerable to cross-site scripting

    CVE-2018-5773 · GHSA-p6h9-gw49-rqm4

    Affected
    • PyPI markdown2 < 2.3.6
    Fixed in
    2.3.6· Vendor fix available
    Issue
    An issue was discovered in markdown2 (aka python-markdown2) through 2.3.5. The safemode 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.

    Recommended action: Upgrade to 2.3.6 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →