CVE-2025-51591 Affecting pandoc package, versions *


Severity

Recommended
low

Based on Debian security rating.

Threat Intelligence

EPSS
0.1% (28th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIAN13-PANDOC-10753041
  • published16 Jul 2025
  • disclosed11 Jul 2025

Introduced: 11 Jul 2025

CVE-2025-51591  (opens in a new tab)

How to fix?

There is no fixed version for Debian:13 pandoc.

NVD Description

Note: Versions mentioned in the description apply only to the upstream pandoc package and not the pandoc package as distributed by Debian. See How to fix? for Debian:13 relevant fixed versions and status.

A Server-Side Request Forgery (SSRF) in JGM Pandoc v3.6.4 allows attackers to gain access to and compromise the whole infrastructure via injecting a crafted iframe. Note: Some users have stated that Pandoc by default can retrieve and parse untrusted HTML content which can enable SSRF vulnerabilities. Using the ‘--sandbox’ option or ‘pandoc-server’ can mitigate such vulnerabilities. Using pandoc with an external ‘--pdf-engine’ can also enable SSRF vulnerabilities, such as CVE-2022-35583 in wkhtmltopdf.

CVSS Base Scores

version 3.1