+3
日增长
9,484
stars
8,119
forks
206
watchers
1,719
prs
839
issues
17
releases
README
WebGoat: A deliberately insecure Web Application Introduction WebGoat is a deliberately insecure web application maintained by OWASP designed to teach web application security lessons. This program is a demonstration of common server-side application flaws. The exercises are intended to be used by people to learn about application security and penetration testing techniques. WARNING 1: While running this program your machine will be extremely vulnerable to attack. You should disconnect from the Internet while using this program. WebGoat's default configuration binds to localhost to minimize the exposure. WARNING 2: This program is for educational purposes only. If you attempt these techniques without authorization, you are very likely to get caught. If you are caught engaging in unauthorized hacking, most companies will fire you. Claiming that you were doing security research will not work as that is the first thing that all hackers claim. !WebGoat Installation instructions: For more details check the Contribution guide 1. Run using Docker Already have a browser and ZAP and/or Burp installed on your machine in this case you can run the WebGoat image directly using Docker. Every release is also published on DockerHub. shell docker run -it -p 127.0.0.1:8080:8080 -p 127.0.0.1:9090:9090 webgoat/webgoat For some lessons you need the container run in the same timezone. For this you can set the TZ environment variable. E.g. shell docker run -it -p 127.0.0.1:8080:8080 -p 127.0.0.1:9090:9090 -e TZ=America/Boise webgoat/webgoat If you want to use OWASP ZAP or another proxy, you can no longer use 127.0.0.1 or localhost. but you can use custom host entries. For example: shell 127.0.0.1 www.webgoat.local www.webwolf.local Then you can run the container with: shell docker run -it -p 127.0.0.1:8080:8080 -p 127.0.0.1:9090:9090 -e WEBGOAT_HOST=www.webgoat.local -e WEBWOLF_HOST=www.webwolf.local -e TZ=America/Boise webgoat/webgoat Then visit http://www.webgoat.local:8080/WebGoat/ and http://www.webwolf.local:9090/WebWolf/ 2. Run using Docker with complete Linux Desktop Instead of installing tools locally we have a complete Docker image based on running a desktop in your browser. This way you only have to run a Docker image which will give you the best user experience. shell docker run -p 127.0.0.1:3000:3000 webgoat/webgoat-desktop 3. Standalone Download the latest WebGoat release from https://github.com/WebGoat/WebGoat/releases shell export TZ=Europe/Amsterdam or your timezone java -Dfile.encoding=UTF-8 -jar webgoat-2023.8.jar Click the link in the log to start WebGoat. 3.1 Running on a different port If for some reason you want to run WebGoat on a different port, you can do so by adding the following parameter: shell java -jar webgoat-2023.8.jar --webgoat.port=8001 --webwolf.port=8002 In the combined JAR, --server.port is an alias for --webgoat.port. Use --webwolf.port to set WebWolf's port separately. For the
Top issues
#2021Move progress through versions?5 comments · 2025-02-08#1740Error page should contain more details5 comments · 2024-02-05#1464Can't access localhost WebGoat via ZAP proxy4 comments · 2023-03-31#1859Logfile should also be written to home directory3 comments · 2024-07-28#1409Add more explanations of all the lessons each assignment should have a write up3 comments · 2023-02-14#1300Change login screen and make forgot password a challenge3 comments · 2022-07-19#1194Introduce security solution as part of WebGoat assignments3 comments · 2021-12-19#1908Add the Korean language2 comments · 2024-09-23
Discussions
#2215How To Make Followers0 comments · 2025-09-19#2162WEBGOAT 2025.3 supported java question2 comments · 2025-07-07#2044New release 2025.3 is available2 comments · 2025-03-01#1876🇷🇺 Русский (Russian) + 🇷🇸(Serbian) + 🇨🇳(Chinese) + 🇮🇳(Indian) + 🇪🇸 Español (Spanish) ПРИВЕТ, ДРУЗЬЯ! ЗДРАВО, ПРИЈАТЕЉИ! 你好,朋友们! नमस्ते, दोस्तों! HOLA, AMIGOS!1 comments · 2024-08-17#1875🇷🇺 Русский (Russian) + 🇷🇸(Serbian) + 🇨🇳(Chinese) + 🇮🇳(Indian) + 🇪🇸 Español (Spanish) ПРИВЕТ, ДРУЗЬЯ! ЗДРАВО, ПРИЈАТЕЉИ! 你好,朋友们! नमस्ते, दोस्तों! HOLA, AMIGOS!0 comments · 2024-08-17#1805remote access to my linux server1 comments · 2024-05-23#1786NoSQL injection0 comments · 2024-04-04#1760WebGoat quizes are not populating and some lessons are not highlighted to green after completion0 comments · 2024-02-28
Latest release
v2026.5 v2026.5 2026-10-12What's Changed chore: back to snapshot after v2026.4 by @github-actions[bot] in https://github.com/WebGoat/WebGoat/pull/2540 chore: bump com.diffplug.spotless:spotless-maven-plugin from 3.10.1 to 3.10.2 by @dependabot[bot] in https://github.com/WebGoat/WebGoat/pull/2536 test(xxe): use deterministic entity targets by @nbaars in https://github.com/WebGoat/WebGoat/pull/2547 chore: bump com.auth0:java-jwt from 4.6.0 to 4.6.1 by @dependabot[bot] in https://github.com/WebGoat/WebGoat/pull/2538 feat(cryptography): add HMAC timing attack lesson by @nbaars in https://github.com/WebGoat/WebGoat/pul