Skip to content

← Public intelligence

npm package

discord-markdown

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

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

  1. UnratednpmAmendedPublished

    discord-html not escaping HTML code blocks when lacking a language identifier

    GHSA-9r27-994c-4xch

    Affected
    • npm discord-markdown < 2.3.1
    Fixed in
    2.3.1· Vendor fix available
    Issue
    Impact Any website using discord-markdown with user-generated markdown is vulnerable to having code injected into the page where the markdown is displayed. Patches This has been patched in version 2.3.1 Workarounds Escape the characters &lt;&gt;&amp; before sending plain code blocks to discord-markdown. References https://github.com/brussell98/discord-markdown/issues/13

    Recommended action: Upgrade to 2.3.1 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 →