Skip to content

Commit

Permalink
Added a note about data-URI script origin to #50
Browse files Browse the repository at this point in the history
  • Loading branch information
cure53 committed Aug 13, 2015
1 parent 79c2a5e commit dd6d4fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion items.js
Original file line number Diff line number Diff line change
Expand Up @@ -1828,7 +1828,7 @@ return [
},
'data' : '<object data="data:text/html;base64,%js_base64_alert%"></object>',
'description': {
'en' : 'Almost all browsers supporting data URIs allow executing JavaScript via crafted <OBJECT> "data" attribute value - even if base64 encoded.',
'en' : 'Almost all browsers supporting data URIs allow executing JavaScript via crafted <OBJECT> "data" attribute value - even if base64 encoded. Note however, that different browsers execute the JavaScript on different origins. Firefox for instance will execute on the hosting domain and thus allow XSS, while Chrome will execute on about:blank.',
'ja' : '',
'ru' : 'Почти все браузеры, поддерживающие протокол data, исполняют JavaScript с помощью атрибута data тега <OBJECT>, который в приведенном примере кодирован в base64.',
'cs' : 'Většina webových prohlížečů umožňuje spuštění JavaScriptu použitím direktivy javascript: v atributu "data" tagu <OBJECT>. Samotný JavaScript přitom může být zakódován do base64.',
Expand Down

0 comments on commit dd6d4fd

Please sign in to comment.