Vulnerability DatabaseGHSA-mq6v-w35g-3c97

GHSA-mq6v-w35g-3c97
JavaScript vulnerability analysis and mitigation

Overview

A Local File Inclusion (LFI) vulnerability was discovered in zmarkdown, identified as GHSA-mq6v-w35g-3c97, affecting versions prior to 10.1.3. The vulnerability was published on August 31, 2021, and allows attackers to include images with known paths on the host machine inside LaTeX documents. This security issue impacts all users of zmarkdown except those who have disabled LaTeX generation or image downloads (GitHub Advisory).

Technical details

The vulnerability is classified as CWE-22 (Improper Limitation of a Pathname to a Restricted Directory). When processing markdown content, the system would allow images with local file paths to be included in LaTeX documents. For example, an image reference like ![](/tmp/img.png) would cause the system to download and include the image found at /tmp/img.png from the host machine (GitHub Advisory).

Impact

The vulnerability allows attackers to include and access images from known paths on the host machine within LaTeX documents. While classified as low severity, this could potentially lead to unauthorized access to local files on the system where zmarkdown is running (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in version 10.1.3, which introduces a new option to replace invalid paths with a default image instead of linking directly to files on the host. Users are advised to update to this version as soon as possible. Alternative workarounds include disabling image downloading or implementing path sanitization (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related JavaScript vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-23947CRITICAL9.3
  • JavaScriptJavaScript
  • @orval/core
NoYesJan 20, 2026
CVE-2026-23950HIGH8.8
  • JavaScriptJavaScript
  • grafana-graphite
NoYesJan 20, 2026
CVE-2026-22037HIGH8.4
  • JavaScriptJavaScript
  • @fastify/express
NoYesJan 19, 2026
CVE-2026-23522LOW3.7
  • JavaScriptJavaScript
  • @lobehub/chat
NoNoJan 19, 2026
CVE-2025-66803LOW1.7
  • JavaScriptJavaScript
  • @hotwired/turbo
NoYesJan 20, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management