Every CVE Search/ Get API key

CVE-2025-51591

A Server-Side Request Forgery (SSRF) in JGM Pandoc v3.6.4 allows attackers to gain access to and...

3.7 LowPublic exploit

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

0.74%Up 0.7 points since Jul 12, 2025
90%50%10%1%

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 LowCVSS: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 LowCVSS: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 MediumCVSS: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 LowCVSS: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 LowCVSS: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 LowCVSS: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 LowCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
Updated
2026-11-02

Affected packages

Affected packages
PackageAffectedFixed
pandoc
Debian: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 less
3.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
pandoc
Debian: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 less
3.10.2-13.7.0.2+ds-13.7.0.2+ds1-13.9-13.9.0.2-1
None known
pandoc
Debian: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 less
3.10.2-13.7.0.2+ds-13.7.0.2+ds1-13.9-13.9.0.2-1
None known
pandoc
Ubuntu: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
pandoc
Ubuntu: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
pandoc
Ubuntu: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
pandoc
Ubuntu:20.04:LTS
All versions, plus listed versions
2.5-22.5-32.5-3build12.5-3build2
None known
pandoc
Ubuntu:22.04:LTS
All versions, plus listed versions
2.9.2.1-1ubuntu42.9.2.1-3ubuntu12.9.2.1-3ubuntu2
None known
pandoc
Ubuntu: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
pandoc
Ubuntu:25.10
All versions, plus listed versions
3.1.11.1+ds-23.1.11.1+ds-4
None known
pandoc
Ubuntu:26.10
All versions, plus listed versions
3.7.0.2+ds-13.9.0.2-13.10-13.11-1
None known
pandoc
Ubuntu: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.

Public exploits
SourceLinkDate
PoC in GitHubMalayke/CVE-2025-51591-Pandoc-SSRF-POC2025-09-25

History

History
RecordedChangedSources
first indexedCVE 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

Show 11 moreShow less
MoveEnter Open