CVEfocus › CVE database › CVE-2025-51591

CVE-2025-51591

CVSS 3.7 LowEPSS 0.7% (higher than 50% of CVEs)Published 2025-07-11Updated 2026-07-05Assigner: mitre

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.

CWE-918

What to do

Red Hat, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

7Fix pending
3Under investigation
4Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10pandocFix pendingUBUNTU-CVE-2025-51591
Ubuntu 26.04pandocUnder investigationUBUNTU-CVE-2025-51591
Ubuntu 25.10pandocWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2025-51591
Ubuntu 24.04pandocUnder investigationUBUNTU-CVE-2025-51591
Ubuntu 22.04pandocUnder investigationUBUNTU-CVE-2025-51591
Ubuntu 20.04pandocFix pendingUBUNTU-CVE-2025-51591
Ubuntu 18.04pandocFix pendingUBUNTU-CVE-2025-51591
Ubuntu 16.04pandocFix pendingUBUNTU-CVE-2025-51591
Ubuntu 14.04pandocFix pendingUBUNTU-CVE-2025-51591
Debian 14pandocWill not fix
Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned.
DEBIAN-CVE-2025-51591
Debian 13pandocWill not fix
Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned.
DEBIAN-CVE-2025-51591
Debian 12pandocWill not fix
Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned.
DEBIAN-CVE-2025-51591
Red Hat Enterprise Linux 8pandocFix pending
Fix deferred
Red Hat Enterprise Linux 8pandoc-commonFix pending
Fix deferred

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.