{"id":"CVE-2025-51591","title":"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","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 par…","severity":"low","cvss":3.7,"cvssVector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","cwe":["CWE-918"],"published":"2025-07-11","updated":"2026-07-05","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2025-51591","references":[{"url":"https://github.com/RealestName/Vulnerability-Research/tree/main/CVE-2025-51591","label":"cve@mitre.org"},{"url":"https://github.com/jgm/pandoc/discussions/11200","label":"cve@mitre.org"},{"url":"https://github.com/jgm/pandoc/issues/10682","label":"cve@mitre.org"},{"url":"https://github.com/jgm/pandoc/issues/11261","label":"cve@mitre.org"},{"url":"https://github.com/jgm/pandoc/issues/8874","label":"cve@mitre.org"},{"url":"https://github.com/jgm/pandoc/pull/11262","label":"cve@mitre.org"},{"url":"https://www.wiz.io/blog/imds-anomaly-hunting-zero-day","label":"cve@mitre.org"},{"url":"https://github.com/jgm/pandoc/commit/67edf7ce7cd3563a180ae44bd122b012e22364f8","label":"134c704f-9b21-4f2e-91b3-4a467353bcc0"},{"url":"https://github.com/jgm/pandoc/issues/10682","label":"134c704f-9b21-4f2e-91b3-4a467353bcc0"},{"url":"https://pandoc.org","label":"134c704f-9b21-4f2e-91b3-4a467353bcc0"},{"url":"https://www.wiz.io/blog/imds-anomaly-hunting-zero-day","label":"134c704f-9b21-4f2e-91b3-4a467353bcc0"},{"url":"not-applicable:http://jgm.com/","label":"134c704f-9b21-4f2e-91b3-4a467353bcc0"},{"url":"not-applicable:http://pandoc.com/","label":"134c704f-9b21-4f2e-91b3-4a467353bcc0"}],"tags":["nvd","exploit-available"],"epss":0.00634,"epssPercentile":0.48983,"ingestedAt":"2026-07-06T16:44:34.244Z","exploits":{"github":1,"githubRepos":["https://github.com/Malayke/CVE-2025-51591-Pandoc-SSRF-POC"],"checkedAt":"2026-09-23T07:13:36.617Z"},"exploitAvailable":true,"slug":"CVE-2025-51591","body":"## Overview\n\nA 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.\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"twilight","depthScore":32,"depthScoreParts":{"impact":20.4,"likelihood":0.1,"exploitation":12,"ransomware":0},"changes":[{"seq":4830,"id":"CVE-2025-51591","ts":1788887209604,"field":"exploit_available","old":"false","new":"true"},{"seq":3713,"id":"CVE-2025-51591","ts":1788886326665,"field":"exploit_available","old":"true","new":"false"},{"seq":2558,"id":"CVE-2025-51591","ts":1788883008202,"field":"exploit_available","old":"false","new":"true"},{"seq":1587,"id":"CVE-2025-51591","ts":1788882408305,"field":"exploit_available","old":"true","new":"false"},{"seq":701,"id":"CVE-2025-51591","ts":1788881845453,"field":"exploit_available","old":"false","new":"true"}]}