CVE-2025-51591
- State
- Published
- Severity
- 3.7 Low
- Published
- Jul 11, 2025
- Updated
- Jul 5, 2026
- Reserved
- Jun 16, 2025
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 3.7 Low | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N | CISA-ADP |
Weaknesses
- CWE-918 Server-Side Request Forgery (SSRF)
Affected Products
| Product | Versions |
|---|---|
n/an/a |
|
References
- https://github.com/RealestName/Vulnerability-Research/tree/main/CVE-2025-51591
- https://github.com/jgm/pandoc/issues/8874
- https://github.com/jgm/pandoc/issues/10682
- https://github.com/jgm/pandoc/discussions/11200
- https://github.com/jgm/pandoc/issues/11261
- https://github.com/jgm/pandoc/pull/11262
- https://www.wiz.io/blog/imds-anomaly-hunting-zero-day
- https://pandoc.org/product
- https://github.com/jgm/pandoc/commit/67edf7ce7cd3563a180ae44bd122b012e22364f8patch
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.