Summary
Local File Inclusion vulnerability in zmarkdown
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.
Impact
A minor Local File Inclusion vulnerability has been found inzmarkdown, 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.
Affected versions
Security releases
Kodem intelligence
Severity tells you how bad this could be in the worst case. It does not tell you whether you are exposed. Exploitability and impact are functions of runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A vulnerable package can sit in your dependency tree and never run.
Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter. Kodem's runtime-powered SCA identifies whether this CVE is reachable in your applications.
Already deployed Kodem?
See it in your environmentNew to Kodem? Get a demo →Remediation advice
The vulnerability has been patched in version 10.1.3.
If impacted, you should update to this version as soon as possible.
Frequently Asked Questions
- What is GHSA-MQ6V-W35G-3C97? GHSA-MQ6V-W35G-3C97 is a low-severity security vulnerability in zmarkdown (npm), affecting versions < 10.1.3. It is fixed in 10.1.3.
- Which versions of zmarkdown are affected by GHSA-MQ6V-W35G-3C97? zmarkdown (npm) versions < 10.1.3 is affected.
- Is there a fix for GHSA-MQ6V-W35G-3C97? Yes. GHSA-MQ6V-W35G-3C97 is fixed in 10.1.3. Upgrade to this version or later.
- Is GHSA-MQ6V-W35G-3C97 exploitable, and should I be worried? Whether GHSA-MQ6V-W35G-3C97 is exploitable in your environment depends on whether the vulnerable code is present and reachable. A CVSS score is a worst-case rating; it does not account for your specific deployment, configuration, or usage patterns. Kodem, an Intelligent Application Security platform, uses runtime intelligence to show which vulnerabilities actually execute in production, so you can focus on the ones that represent real risk. Get a demo
- What actually determines whether GHSA-MQ6V-W35G-3C97 is exploitable, and how bad it is? Exploitability and impact are not fixed properties of a CVE. They depend on runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A high CVSS score on a dependency that never runs is not the same as real risk. Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter.
- How do I fix GHSA-MQ6V-W35G-3C97? Upgrade
zmarkdownto 10.1.3 or later.