SSRF in N/a
CVE-2025-51591
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.
Vulnerability class: SSRF (Server-Side Request Forgery)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 3.7 (Low). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N.
EPSS exploit prediction
EPSS 0.007, 55.1th percentile (last changed ); unchanged over 30 days. About EPSS.
Weakness classification (CWE)
Public exploits and proof-of-concept code
1 public repository with exploit or proof-of-concept code for this CVE:
- Malayke/CVE-2025-51591-Pandoc-SSRF-POC (last pushed 2025-10-22): CVE-2025-51591 Pandoc SSRF vulnerability Proof of Concept
Also mentioned in 6 other repositories (0xAtef/0xAtef, DevGreick/devgreick, fkie-cad/nvd-json-data-feeds, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- jgm.com
- pandoc.com
- github.com/RealestName/Vulnerability-Research/tree/main/CVE-2025-51591
- github.com/jgm/pandoc/issues/8874
- github.com/jgm/pandoc/issues/10682
- github.com/jgm/pandoc/discussions/11200
- github.com/jgm/pandoc/issues/11261
- github.com/jgm/pandoc/pull/11262
- www.wiz.io/blog/imds-anomaly-hunting-zero-day
- github.com/jgm/pandoc/commit/67edf7ce7cd3563a180ae44bd122b012e22364f8
This CVE has public exploit evidence. See the latest CVEs with public exploits.