Skip to content
Breakpoint logobreakpoınt

Damn Vulnerable Web Application (DVWA)

Run a deliberately vulnerable PHP app locally and attack it at rising security levels

DVWA is a PHP and MariaDB web application that is vulnerable on purpose. You run it on your own machine, ideally in a virtual machine or with the provided Docker image, and practise common web attacks against it legally. Each vulnerability can be set to different difficulty levels, so you can exploit the easy version first and then see how the stronger defences change things.

Play on github.com

Free · No login · Terminal · Beginner

Damn Vulnerable Web Application (DVWA) preview

About Damn Vulnerable Web Application (DVWA)

The project aims to help security learners test skills and tools, and to show web developers how these bugs arise and how to fix them. It contains both documented and undocumented vulnerabilities, and you are encouraged to find as many as you can. It suits beginners in web security who want a safe local target before moving on to online labs.

It is free and open source under GPL-3.0 with no account. The maintainers warn never to put it on a public or internet-facing server.

On Breakpoint since 10 Nov 2026.

Questions about Damn Vulnerable Web Application (DVWA)

How do I get DVWA running with Docker, and what do I log in with?

Install Docker and Docker Compose, then run docker compose up -d. DVWA is served on localhost at port 4280. Open the setup page, click Create / Reset Database, then log in with the username admin and the password password.

Which labs are in DVWA, and do any need extra setup?

The README names SQL injection, blind SQL injection, reflected XSS, file upload, remote file inclusion, insecure CAPTCHA and an API lab. Insecure CAPTCHA needs reCAPTCHA keys. Remote file inclusion needs allow_url_include and allow_url_fopen switched on in PHP.

Made this game? Claim it →

Keyboard shortcuts

j / k
Move down / up the list (this page)
] / [
Next / previous page
o
Open the focused game
b
Save or unsave the focused game
/
Search (the home list, or the command palette elsewhere)
Ctrl K
Command palette: games, skills, pages (works even when single keys are off)
?
This help