Vulnerability · Published Jul 11, 2025 · Assigned by mitre

CVE-2025-51591

Low 3.7

In plain English

A low-severity server-side request forgery in the pandoc package (Debian). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 55% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code.

Severity (CVSS 3.1)3.7Low
Exploit odds (30 days)0.7%top 45.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack tooling1Public PoC

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12pandocno fix listedDEBIAN-CVE-2025-51591
Debian:13pandocno fix listedDEBIAN-CVE-2025-51591
Debian:14pandocno fix listedDEBIAN-CVE-2025-51591
Ubuntu:22.04:LTSpandocno fix listedUBUNTU-CVE-2025-51591
Ubuntu:24.04:LTSpandocno fix listedUBUNTU-CVE-2025-51591
Ubuntu:25.10pandocno fix listedUBUNTU-CVE-2025-51591
Ubuntu:26.04:LTSpandocno fix listedUBUNTU-CVE-2025-51591
Ubuntu:26.10pandocno fix listedUBUNTU-CVE-2025-51591

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

Weakness: CWE-918 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N

References