cvedb.io
CVE-2023-35936
MEDIUM · CVSS 6.1
EPSS exploitation probability: 0%
Published 2023-07-05T21:15:09.627 · Last modified 2026-06-17T06:05:30.260

Summary

Pandoc is a Haskell library for converting from one markup format to another, and a command-line tool that uses this library. Starting in version 1.13 and prior to version 3.1.4, Pandoc is susceptible to an arbitrary file write vulnerability, which can be triggered by providing a specially crafted image element in the input when generating files using the `--extract-media` option or outputting to PDF format. This vulnerability allows an attacker to create or overwrite arbitrary files on the system ,depending on the privileges of the process running pandoc. It only affects systems that pass untrusted user input to pandoc and allow pandoc to be used to produce a PDF or with the `--extract-media` option. The fix is to unescape the percent-encoding prior to checking that the resource is not a

Affected products

pandoc — pandoc

Does this affect you?

Add your gear to cvedb and we'll alert you only when pandoc ships something exploited.

Check my exposure →

References

This product uses data from the NVD API but is not endorsed or certified by the NVD. Informational only; not professional security advice.