mermaid/cypress/platform/xss22.html

17 lines
383 B
HTML
Raw Normal View History

2022-04-21 21:11:48 +02:00
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
</head>
<body>
<pre class="mermaid">
2022-04-21 21:11:48 +02:00
graph TD
A --&gt; B["&lt;a href='javascript#9;t#colon;alert(document.location)'&gt;AAA&lt;/a&gt;"]
</pre>
2023-02-19 09:33:11 +01:00
<script type="module">
import mermaid from './mermaid.esm.mjs';
mermaid.initialize({ startOnLoad: true });
</script>
</body>
</html>