zmarkdown
Affected
- introduced
0, fixed10.1.3(semver)
Fixed versions
10.1.3
Fix
- Fixed version
10.1.3npm install [email protected]
Advisory
Also known as: None
Local File Inclusion vulnerability 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.
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.
Low Basis: The source's own band: LOW
0, fixed 10.1.3 (semver)10.1.3
10.1.3npm install [email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0