Damn Vulnerable Web Application
Practice web application security testing in a controlled environment. Master SQL injection, XSS, CSRF, and 18+ vulnerability types across four difficulty levels.
Quick Start
Get DVWA running in minutes and start your security training journey.
Download or clone DVWA
Deploy using Docker (Recommended)
http://localhost:4280. The default credentials are:- Username:
admin - Password:
password
Set up the database
Choose your security level
- Low: Minimal to no security controls
- Medium: Basic security measures with flaws
- High: More robust security with exploitable weaknesses
- Impossible: Secure implementations for learning proper defenses
Explore Vulnerabilities
Master 18+ vulnerability types with hands-on exercises at multiple difficulty levels.
SQL Injection
Cross-Site Scripting
Command Injection
CSRF Attacks
File Upload
Brute Force
Training Features
DVWA provides everything you need for comprehensive web security training.
Four Security Levels
Progress from Low (vulnerable) to Impossible (secure) to understand both exploitation and defense.
View Source Code
Examine the vulnerable code at each security level to understand exactly what went wrong.
Built-in Help
Each vulnerability module includes documentation, objectives, and hints for each difficulty level.
Multiple Deployment Options
Deploy with Docker, XAMPP, or manually on Linux. Choose the method that works best for your environment.
Deployment Options
Choose the deployment method that fits your workflow.
Docker
XAMPP
Linux Manual
Important Security Warning
DVWA is intentionally vulnerable. Never deploy it to a production server or any Internet-facing environment. Use it only in isolated virtual machines or containers with NAT networking.
Resources & Support
Get help, contribute, and connect with the community.
Troubleshooting
Contributing
Ready to Start Your Security Training?
Set up DVWA in minutes and begin practicing real-world web application vulnerabilities.
Get Started Now