CVE-2025-51591
A Server-Side Request Forgery (SSRF) in JGM Pandoc v3.6.4 allows attackers to gain access to and...
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- High
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- Low
- Integrity
- None
- Availability
- None
Exploit likelihood
What each source reports
CVE List Score used
3.7
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.
- Record
CVE-2025-51591- CVSS 3.1
- 3.7 Low
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N - Weakness
- CWE-918
- Updated
- 2026-11-02
EUVDEUVD-2025-21134
3.7
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.
- Record
EUVD-2025-21134- CVSS 3.1
- 3.7 Low
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-mcv3-ch54-xqfh
6.5
A Server-Side Request Forgery (SSRF) in JGM Pandoc v3.6.4 allows attackers to gain access to and...
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.
- Record
GHSA-mcv3-ch54-xqfh- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N - Weakness
- CWE-918
- Updated
- 2026-11-02
NVD
3.7
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.
- Record
CVE-2025-51591- CVSS 3.1
- 3.7 Low
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N - Weakness
- CWE-918
- Updated
- 2026-11-02
OSV
3.7
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.
- Record
CVE-2025-51591- CVSS 3.1
- 3.7 Low
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N - Updated
- 2026-11-02
OSVDEBIAN-CVE-2025-51591
3.7
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.
- Record
DEBIAN-CVE-2025-51591- CVSS 3.1
- 3.7 Low
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N - Updated
- 2026-11-02
OSVUBUNTU-CVE-2025-51591
3.7
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.
- Record
UBUNTU-CVE-2025-51591- CVSS 3.1
- 3.7 Low
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N - Updated
- 2026-11-02
Affected packages
| Package | Affected | Fixed |
|---|---|---|
pandocDebian:12 |
All versions, plus listed versions 2.17.1.1+~git20230125+ds-12.17.1.1-1.12.17.1.1-22.17.1.1-2~deb12u12.17.1.1-3 Show 18 moreShow less3.0.1+ds-13.0.1+ds-23.0.1+ds-33.1.11.1+ds-13.1.11.1+ds-23.1.11.1+ds-33.1.11.1+ds-43.1.3+ds-13.1.3+ds-23.1.3+ds-33.1.3+ds-3+loong643.10-13.10.1-13.10.2-13.7.0.2+ds-13.7.0.2+ds1-13.9-13.9.0.2-1 |
None known |
pandocDebian:13 |
All versions, plus listed versions 3.1.11.1+ds-23.1.11.1+ds-33.1.11.1+ds-43.10-13.10.1-1 Show 5 moreShow less3.10.2-13.7.0.2+ds-13.7.0.2+ds1-13.9-13.9.0.2-1 |
None known |
pandocDebian:14 |
All versions, plus listed versions 3.1.11.1+ds-23.1.11.1+ds-33.1.11.1+ds-43.10-13.10.1-1 Show 5 moreShow less3.10.2-13.7.0.2+ds-13.7.0.2+ds1-13.9-13.9.0.2-1 |
None known |
pandocUbuntu:14.04:LTS |
All versions, plus listed versions 1.11.1-2build21.11.1-41.11.1-51.12.2.1-11.12.2.1-1build11.12.2.1-1build2 |
None known |
pandocUbuntu:16.04:LTS |
All versions, plus listed versions 1.13.2.1~dfsg-1build61.15.1.1~dfsg-21.15.1.1~dfsg-2build11.16.0.2~dfsg-1 |
None known |
pandocUbuntu:18.04:LTS |
All versions, plus listed versions 1.19.2.1.0-11.19.2.4~dfsg-1build11.19.2.4~dfsg-1build21.19.2.4~dfsg-1build31.19.2.4~dfsg-1build4 |
None known |
pandocUbuntu:20.04:LTS |
All versions, plus listed versions 2.5-22.5-32.5-3build12.5-3build2 |
None known |
pandocUbuntu:22.04:LTS |
All versions, plus listed versions 2.9.2.1-1ubuntu42.9.2.1-3ubuntu12.9.2.1-3ubuntu2 |
None known |
pandocUbuntu:24.04:LTS |
All versions, plus listed versions 2.17.1.1-3ubuntu13.0.1+ds-33.1.3+ds-13.1.3+ds-2 |
None known |
pandocUbuntu:25.10 |
All versions, plus listed versions 3.1.11.1+ds-23.1.11.1+ds-4 |
None known |
pandocUbuntu:26.10 |
All versions, plus listed versions 3.7.0.2+ds-13.9.0.2-13.10-13.11-1 |
None known |
pandocUbuntu:26.04:LTS |
All versions, plus listed versions 3.1.11.1+ds-43.7.0.2+ds-1 |
None known |
Public exploits
Links only. Every CVE stores no exploit code.
| Source | Link | Date |
|---|---|---|
| PoC in GitHub | Malayke/CVE-2025-51591-Pandoc-SSRF-POC | 2025-09-25 |
History
| Recorded | Changed | Sources |
|---|---|---|
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV, PoC in GitHub |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2025-51591 is a low vulnerability (CVSS 3.7) in pandoc, published July 11, 2025. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 0.74%, the 54th percentile. No source names a fixed version.
References
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
Show 11 moreShow less
wiz.io/blog/imds-anomaly-hunting-zero-day
pandoc.org
github.com/jgm/pandoc/commit/67edf7ce7cd3563a180ae44bd122b012e22364f8
nvd.nist.gov/vuln/detail/CVE-2025-51591
jgm.com
pandoc.com
github.com/advisories/GHSA-mcv3-ch54-xqfh
github.com/CVEProject/cvelistV5/tree/main/cves/2025/51xxx/CVE-2025-51591.json
security-tracker.debian.org/tracker/CVE-2025-51591
ubuntu.com/security/CVE-2025-51591
cve.org/CVERecord?id=CVE-2025-51591