CVE-2025-51591
LOW EXPLOITEDJGM Pandoc 3.6.4 - Server-Side Request Forgery via Crafted iframe
Title source: llmExploitation Summary
CVE-2025-51591 has been observed exploited in the wild (reported by VulnCheck KEV). EIP tracks 2 public exploits from researchers including adminlove520, Malayke.
AI-analyzed exploit summary The repository contains a scanner for CVE-2024-21762, a Fortinet SSL VPN vulnerability, which checks for the presence of the vulnerability by sending crafted HTTP requests. It does not include exploit code but provides detection capabilities.
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.
Exploits (2)
The repository contains a scanner for CVE-2024-21762, a Fortinet SSL VPN vulnerability, which checks for the presence of the vulnerability by sending crafted HTTP requests. It does not include exploit code but provides detection capabilities.
This repository provides a functional proof-of-concept for CVE-2025-51591, an SSRF vulnerability in Pandoc v3.6.4. The exploit involves injecting a crafted iframe into an HTML file, which is then converted to PDF using Pandoc, triggering an SSRF request to an attacker-controlled OAST URL.
References (13)
Scores
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N