CVE Catalog

CVE-2025-51591

LowCVSS 3.7
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.61%

45th percentile — higher than 45% of all known CVEs

Summary

An SSRF vulnerability in JGM Pandoc v3.6.4 allows attackers to inject a crafted iframe, gaining access to and compromising the entire infrastructure. Pandoc's default behavior of fetching and parsing untrusted HTML can facilitate exploitation of this flaw.

Risk Assessment

The risk involves potential remote scanning and attacking of internal organizational resources, leading to data breaches, system compromise, and further escalation within the infrastructure.

Recommendation

Immediately update Pandoc to the latest version and use the '--sandbox' option or 'pandoc-server' to mitigate risks. Avoid using external PDF engines like wkhtmltopdf without proper security measures.

Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS