diff --git a/ webgoat/main/project/JavaSource/org/owasp/webgoat/lessons/DOMXSS.java b/ webgoat/main/project/JavaSource/org/owasp/webgoat/lessons/DOMXSS.java
index 56c5c9670..478799909 100644
--- a/ webgoat/main/project/JavaSource/org/owasp/webgoat/lessons/DOMXSS.java
+++ b/ webgoat/main/project/JavaSource/org/owasp/webgoat/lessons/DOMXSS.java
@@ -123,6 +123,8 @@ public class DOMXSS extends SequentialLessonAdapter {
ec.addElement(new Script().setSrc("javascript/DOMXSS.js"));
+ ec.addElement(new Script().setSrc("javascript/escape.js"));
+
ec.addElement(new H1().setID("greeting"));
ec.addElement(new StringElement("Enter your name: "));
@@ -208,9 +210,9 @@ public class DOMXSS extends SequentialLessonAdapter {
if (getLessonTracker(s).getStage() == 1) {
instructions = "STAGE 1:\tFor this exercise, your mission is to deface this website using the image at the following location: OWASP IMAGE";
} else if (getLessonTracker(s).getStage() == 2) {
- instructions = "STAGE 2:\tNow, try to create a pop up using the image tag";
+ instructions = "STAGE 2:\tNow, try to create a JavaScript alert up using the image tag";
} else if (getLessonTracker(s).getStage() == 3) {
- instructions = "STAGE 3:\tNext, try to create a pop up using the IFRAME tag.";
+ instructions = "STAGE 3:\tNext, try to create a JavaScript alert up using the IFRAME tag.";
} else if (getLessonTracker(s).getStage() == 4) {
instructions = "STAGE 4:\tUse the following to create a fake login form:
" + "Please enter your password:<BR><input type = \"password\" name=\"pass\"/><button " +
"onClick=\"javascript:alert('I have your password: ' + pass.value);\">Submit</button><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR>";