Skip to content

Instantly share code, notes, and snippets.

@wuuconix
Created April 19, 2023 12:12

Revisions

  1. wuuconix created this gist Apr 19, 2023.
    26 changes: 26 additions & 0 deletions xss.html
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,26 @@
    <!DOCTYPE html>
    <html lang="en">
    <head>
    <title>XSS Prove Using HTML</title>
    </head>
    <body>
    <div class="flex">
    <img src="https://gzw.sinaimg.cn/large/007YVyKcly1h2kl9rs23cj30ma0mlk48.jpg">
    </div>
    </body>
    </html>

    <style>
    .flex {
    display: flex;
    justify-content: center;
    align-items: center;
    }
    img {
    width: 200px;
    }
    </style>

    <script>
    alert("xss proved using html. 2023/4/19")
    </script>