Nuclei Guide: Automated Vulnerability Scanning
Learn Nuclei for fast template-based vulnerability scanning with customizable templates, workflow automation, and integration into CI/CD pipelines.
Why You Need Nuclei
You need to scan targets against hundreds of known CVEs and misconfiguration checks — Nuclei runs YAML-based templates that define exactly what to detect. Its community-driven template library covers everything from critical CVEs to cloud misconfigurations, and new templates are published daily.
Prerequisites
How Nuclei Works
Requests: HTTP or network requests to the target.
Matchers: Conditions that determine if a vulnerability exists.
Extractors: Rules to extract information from responses.
Installation
sudo apt install nuclei
nuclei -update-templates
Basic Usage
nuclei -u http://target.com
nuclei -u http://target.com -severity critical,high,medium
Essential Options
| Option | Description |
|---|---|
-u URL | Target URL |
-t TEMPLATE | Template file/directory |
-severity LEVELS | Severity filter |
-tags TAGS | Template tags |
-o FILE | Output file |
-json | JSON output |
-rate-limit RATE | Rate limit |
Template Categories
nuclei -u http://target.com -tags cve
nuclei -u http://target.com -tags wordpress
nuclei -u http://target.com -tags misconfig
nuclei -u http://target.com -tags exposure
Advanced Usage
nuclei -l targets.txt -t cves/ -o results.txt
nuclei -u http://target.com -rate-limit 50 -headless
Custom Template Example
id: custom-check
info:
name: Custom Security Check
severity: medium
description: Detects a specific misconfiguration
requests:
- method: GET
path:
- "{{BaseURL}}/sensitive-file.txt"
matchers:
- type: word
words:
- "sensitive"
Common Mistakes
Running without updated templates. No rate limiting. Not verifying results.
Best Practices
Update templates regularly. Use severity filters. Integrate into CI/CD.
Related Tools
Related Articles
Summary
Nuclei is a modern template-based vulnerability scanner. Its community-driven template library covers thousands of security checks.
Knowledge Check
-severity filter?Frequently Asked Questions
Continue Learning
How to Use FFUF: Beginner's Guide to Fast Web Fuzzing in Kali Linux
Learn how to use FFUF in Kali Linux — directory, subdomain and vhost fuzzing, parameter testing, filters and a worked DVWA example, with a cheat sheet.
Tools · BeginnerNmap Beginner Tutorial: Mastering Network Scanning
Learn Nmap from scratch covering host discovery, port scanning, service detection, NSE scripts, and practical examples.
Tools · BeginnerCeWL Guide: Custom Wordlist Generator
Learn CeWL for generating custom wordlists by spidering websites, creating targeted password lists for penetration testing and security assessments.
Tools · IntermediateHow to Use Burp Suite: Beginner's Guide to Web App Security Testing in Kali Linux
Learn how to use Burp Suite to intercept requests, test with Repeater and Intruder, follow a worked DVWA example, and start free with Community Edition.
Related Security Tools
Nuclei
Nuclei is used to send requests across targets based on templates, allowing zero false positives and providing rapid scanning over large infrastructure footprints.
Vulnerability AnalysisNikto
Learn how to use Nikto, an open-source web server scanner written in Perl and pre-installed on Kali Linux, to audit servers you own or have written permission to test. Its 6700+ checks for potentially dangerous files and programs, plus tests for outdated software and misconfigurations, highlight issues that need verification.
Vulnerability AnalysisWPScan
Learn how to use WPScan, the black-box WordPress vulnerability scanner: install it in Kali Linux, add a free API token, and scan a WordPress site to enumerate plugins, themes and users and match them against known vulnerabilities.
Web ApplicationOWASP ZAP
Learn how to use OWASP ZAP (Zed Attack Proxy), the world's most widely used free and open-source web application security scanner. Maintained under the OWASP foundation, ZAP serves as an intercepting proxy, automated crawler, active vulnerability scanner, WebSocket inspector, and CI/CD security automation pipeline.