PR

Proposed changes

Fixes #2063

  • Adds support for exporting nuclei scan results as a PDF

  • New flag: --pdf-export / -pe

  • Follows the existing exporter pattern (same approach as JSON/Markdown)

  • Uses gofpdf for generating PDFs

  • PDF includes:

    • One summary page with findings grouped by severity
    • Separate pages for each finding
    • Color-coded severity levels

Example:

nuclei -u example.com -t templates/ -pe results.pdf

Proof

  • Tested with DNS, SSL, and HTTP misconfiguration templates
  • PDF output is multi-page and formatted correctly
  • Verified binary data handling for SSL responses
  • Existing tests still pass
  • Build works with make build

Checklist

  • Pull request is created against the [dev](https://github.com/projectdiscovery/nuclei/tree/dev) branch
  • All checks passed (lint, unit/integration/regression tests etc.) with my changes
  • I have added tests that prove my fix is effective or that my feature works
  • I have added necessary documentation (if appropriate)

/claim #2063

Summary by CodeRabbit

Release Notes

  • New Features
    • Added PDF export option (--pdf-export / -pe) to generate comprehensive PDF reports of security findings
    • PDF reports display findings summary, severity distribution breakdown, and detailed event information including template IDs, hosts, matched content, and color-coded severity headers
    • Configurable request/response data inclusion in PDF exports

Claim

Total prize pool $25
Total paid $0
Status Pending
Submitted February 02, 2026
Last updated February 02, 2026

Contributors

AR

Areeb Ahmed

@areebahmeddd

100%

Sponsors

PR

ProjectDiscovery

@projectdiscovery

$25