Skip to content

← Public intelligence

npm package

zmarkdown

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

    Local File Inclusion vulnerability in zmarkdown

    GHSA-mq6v-w35g-3c97

    Affected
    • npm zmarkdown < 10.1.3
    Fixed in
    10.1.3· Vendor fix available
    Issue
    Impact A minor Local File Inclusion vulnerability has been found in zmarkdown, which allowed for images with a known path on the host machine to be included inside a LaTeX document. To prevent it, a new option has been created that allow to replace invalid paths with a default image instead of linking the image on the host directly. zmarkdown has been updated to make this setting the default. Every user of zmarkdown is likely impacted, except if disabling LaTeX generation or images download. Here is an example of including an image from an invalid path: Will effectively redownload and include the image found at /tmp/img.png. Patches The vulnerability has been patched in version 10.1.3. If impacted, you should update to this version as soon as possible. Workarounds Disable images downloading, or sanitize paths. For more information If you have any questions or comments about this advisory, open an issue in ZMarkdown.

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