CVE-2025-51591 json
A Server-Side Request Forgery (SSRF) in JGM Pandoc v3.6.4 allows attackers to gain access to and compromise the whole infrastructure via in…
published 2025-07-11 15 mo ago modified 2026-07-05 4 mo ago also EUVD-2025-21134
- cvss
- 3.7
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.7%
- EPSS 0.7% chance of exploitation in 30 days, percentile 54%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- github.com/jgm/pandoc@67edf7c commit
- github.com/jgm/pandoc#11262 pull request
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2025-51591 updated cvss 4.8
pandoc: Server-Side Request Forgery in Pandoc
-
Red Hat Enterprise Linux 8 pandoc, pandoc-commonaffected: workaround, no fix available “When ingesting untrusted input users are advised to Pandoc's `--sandbox` option.”
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 13 mo ago
Exploit prediction
0.74% chance of exploitation in the next 30 days, higher than 54% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 3.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N |
| CNA | 3.1 | 3.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N |
Classification
- Weakness
-
- CWE-918 Server-Side Request Forgery
References
- github.com /jgm/pandoc/pull/11262
-
github.com
/jgm/pandoc/commit/67edf7ce7cd3563a180ae44bd122b012e22364f8
patch
-
github.com
/jgm/pandoc/issues/10682
vendor-advisory, issue-tracking
- github.com /RealestName/Vulnerability-Research/tree/main/CVE-2025-51591
- github.com /jgm/pandoc/issues/8874
- github.com /jgm/pandoc/discussions/11200
- github.com /jgm/pandoc/issues/11261
-
wiz.io
/blog/imds-anomaly-hunting-zero-day
technical-description
-
pandoc.org
product
Sources
- CVE List CVE-2025-51591
- NVD CVE-2025-51591
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.