Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2026-25940 — Proof-of-concept for CVE-2026-25940 demonstrating embedded JavaScript execution via crafted AcroForm radio button appearances in PDF viewers, with Node.js generator and browser viewer harness. | Kitploit
Tools/GitHubGitHub/open-flaw/cve-2026-25940
Payload GenerationVulnerability AnalysisExploitationWeb Application ExploitationWeb Security
GitHubopen-flaw/cve-2026-25940

CVE-2026-25940

Proof-of-concept for CVE-2026-25940 demonstrating embedded JavaScript execution via crafted AcroForm radio button appearances in PDF viewers, with Node.js generator and browser viewer harness.

View Repository
448 months agoNot yet reviewed
Share

CVE-2026-25940 jsPDF PoC

A proof-of-concept for CVE-2026-25940 demonstrating how specially crafted AcroForm radio button appearances can trigger embedded JavaScript in vulnerable PDF viewers (e.g., Foxit). The repo includes a Node-based generator and a browser viewer harness to exercise different parsing paths.

⚠️ Use only in isolated, non-production environments. The sample payloads intentionally execute JavaScript and may invoke network requests or external programs. Do not open the generated PDF with untrusted viewers on a host you care about.

Repo Contents

  • poc.js: Generates a malicious PDF with multiple radio button options and distinct appearance streams to showcase different behaviors.
  • viewer.html: Minimal viewer harness to generate the PoC in-browser or load an existing sample, and render it both natively (iframe) and via PDF.js.
  • package.json: Declares the jsPDF dependency for the Node PoC.

Prerequisites

  • Node.js 18+ and npm.

Setup

  1. Install dependencies:
    npm install
    
  2. (Optional) Serve the viewer locally for cleaner loading of the HTML/JS:
    npx http-server .
    # then open http://localhost:8080/viewer.html
    

Generate PoC PDF via Node

  1. Run the generator:
    node poc.js
    
  2. The script writes test.pdf in the project root. Open it with your target PDF viewer to observe behavior. Keep networking blocked if you want to avoid outbound requests.

Browser-Based Viewer Workflow

  1. Open viewer.html directly in a browser or via a local server.
  2. Click Generate PoC PDF to build the malicious document in-browser and load it into both the iframe (native/browser handler) and PDF.js canvas.
  3. Alternatively, choose Load file and select a PDF you generated with the Node script.
  4. Watch console/network activity for evidence of JavaScript execution; some viewers may suppress alerts while still running embedded actions.

Notes

  • Payloads are tuned toward Foxit behavior; other viewers may partially mitigate or block them.
  • If you adapt the payload, keep sizes similar to avoid changing object offsets that some exploit chains rely on.
  • Always test in a VM or sandbox with restricted network egress.
Download Tool

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    795
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock One-Tap Execution App (CVE-2026-43499)

    520
  • 3

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    439
  • 4

    redforge

    cybersecurity91/redforge

    Browser-side red team toolkit with 102 offline tools for recon, payload generation, credential attacks, crypto, encoding and engagement reporting.

    346
  • 5

    looking-glass

    anonghosty/looking-glass

    CSIRT platform that ingests Shadowserver reports into MongoDB and replays them as interactive maps, analysis, findings, advisories and executive dashboards.

    267
  • 6

    CyberStrikeAI

    ed1s0nz/cyberstrikeai

    The system of action for AI-native cybersecurity—where intent becomes governed execution, evidence becomes operational memory, and every operation improves the next.

    264

Explore all tools

Browse our collection of tools

View all tools →