Local File Inclusion vulnerability in zmarkdown
Key facts
- Attack vector
- —
- Privileges required
- —
- User interaction
- —
- Attack complexity
- —
- Impact type
- —
- Confidentiality · integrity · availability
- —
- Fix status
- Fixed
No CVSS vector from any source. Fix status from GitHub.
Summary
### 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: ```markdown  ``` 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](https://github.com/zestedesavoir/zmarkdown/issues).
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | zmarkdown (npm) | before 10.1.3 | 10.1.3 | Patch available | GHSA-mq6v-w35g-3c97 |
- zmarkdown (npm) Vendor— Affected before 10.1.3 Fixed in 10.1.3 Patch available GHSA-mq6v-w35g-3c97
Remediation
- Fix · GHSA-mq6v-w35g-3c97 zmarkdown (npm) Fixed in 10.1.3 Advisory →
Timeline
- 2026-10-03 Threatist record created from GHSA-mq6v-w35g-3c97
References
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences