Pandoc before 3.1.6 allows arbitrary file write: this can be triggered by providing a crafted image element in the input when generating files via the --extract-media option or outputting to PDF format.
CVSS 3.1MEDIUM 6.3·Local·No auth·User interaction·EPSS 0.00252·Published 2023-07-25·Will not fix