Skip to content

Commit 5cd29b6

Browse files
author
Michael Piatek
authored
Add files via upload
1 parent 12fef91 commit 5cd29b6

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

cspbug.html

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<html><head>
2+
<meta http-equiv="Content-Security-Policy" content="script-src 'nonce-nonceval'">
3+
<script nonce="nonceval">
4+
5+
const templateElement = document.createElement('template');
6+
templateElement.innerHTML = '<audio src=x onerror=alert(1)>';
7+
8+
console.log('Executed whitelisted inline script');
9+
10+
</script>
11+
</head></html>

0 commit comments

Comments
 (0)