Nuclei

Field Detail
Summary Fast templated CVE/misconfig scanning at scale
Category Templated vulnerability scanning
Phase vulnerability-analysis, web-testing
Interface CLI
Platform Linux, Windows, macOS
Licence Open source (MIT)
Docs https://docs.projectdiscovery.io/tools/nuclei
Related OSINT and recon, Searchsploit and Exploit-DB, Burp Suite, wpscan

Fast, template-driven scanner (ProjectDiscovery). Runs thousands of community YAML templates — known CVEs, misconfigurations, exposures, default creds, takeovers — across many hosts at once. Signature-based, so it's about breadth and speed, not discovering novel bugs.

⚠️ Warning — It sends real probes Templates send payloads to the target; some are intrusive (fuzzing, default-cred login attempts). In scope only. Watch what severity/tags you enable — a -tags fuzz run is far noisier than a passive tech-detect.

Setup

nuclei -update              # update the engine
nuclei -ut                  # update templates (run often — CVEs land daily)
nuclei -tc                  # show template stats

Basic runs

nuclei -u https://target.com                      # single target, all default templates
nuclei -l hosts.txt                               # many targets from a file
cat subs.txt | httpx -silent | nuclei             # pipe from recon (common pattern)
nuclei -u https://target.com -o results.txt
nuclei -u https://target.com -je report.json      # JSON export for reporting

Target the run (you rarely want "everything")

# By severity
nuclei -l hosts.txt -severity critical,high

# By tags
nuclei -l hosts.txt -tags cve,exposure
nuclei -l hosts.txt -tags tech -severity info      # just fingerprint tech stack (quiet)

# By template path / id
nuclei -u target -t http/cves/2021/CVE-2021-44228.yaml   # Log4Shell
nuclei -u target -t http/takeovers/                      # subdomain takeover checks
nuclei -u target -id CVE-2023-1234

# Exclude noisy/dangerous
nuclei -l hosts.txt -etags fuzz,dos,intrusive

Template categories live under ~/nuclei-templates/: http/cves/, http/misconfiguration/, http/exposures/, http/default-logins/, http/takeovers/, network/, dns/, ssl/, headless/.

Performance & control

nuclei -l hosts.txt -c 50 -rl 150      # 50 concurrent templates, 150 req/sec rate limit
nuclei -l hosts.txt -bulk-size 25      # hosts analysed in parallel
nuclei -u target -proxy http://127.0.0.1:8080   # route through Burp to inspect
nuclei -u target -H "Authorization: Bearer <tok>"  # custom headers / auth
nuclei -u target -timeout 10 -retries 2
nuclei -l hosts.txt -rl 20 -c 5        # be gentle on fragile/OT-adjacent kit

Writing a quick custom template

Templates are readable YAML — handy for checking one specific thing across many hosts:

id: custom-admin-exposed
info:
  name: Exposed admin panel
  severity: medium
http:
  - method: GET
    path:
      - "{{BaseURL}}/admin/"
    matchers:
      - type: word
        words:
          - "Admin Login"
        part: body
      - type: status
        status: [200]
nuclei -u https://target.com -t custom-admin-exposed.yaml

More flags

Flag Purpose
-severity critical,high Filter by severity
-tags cve,exposure / -etags fuzz,dos Include / exclude tags
-t <path> / -id CVE-… / -eid Run / exclude templates by path or id
-rl 150 -c 50 -bulk-size 25 Rate limit / concurrency / hosts in parallel
-proxy http://127.0.0.1:8080 Through Burp
-H "Authorization: Bearer …" Custom headers / auth
-as Automatic scan: fingerprint tech → run matching templates
-o out.txt -je report.json -jsonl Outputs
-silent -stats -nc Clean output / live stats / no colour
-validate Lint a custom template before running
subfinder -d t.com -silent | httpx -silent | nuclei -tags cve,exposure -severity critical,high -rl 100
nuclei -l hosts.txt -t http/cves/ -etags dos,intrusive -je findings.json

Kill-chain usage

Vulnerability analysis

nuclei -l hosts.txt -severity critical,high   # templated CVE/misconfig

Web testing

nuclei -u https://t -tags cve,exposure   # web-focused checks

Where it fits

A fast second pass after recon: pipe live hosts from OSINT and recon (subfinder | httpx | nuclei) to flag known-CVE/misconfig low-hanging fruit across the whole estate. Confirm and exploit anything interesting manually in Burp Suite; cross-reference findings with Searchsploit and Exploit-DB. For WordPress specifically, wpscan goes deeper.