summaryrefslogtreecommitdiff
path: root/tools/copland/tests/fixtures/org/security.html
diff options
context:
space:
mode:
authorcashmere <cashmere@autistici.org>2026-09-04 09:05:24 +0200
committercashmere <cashmere@autistici.org>2026-09-04 09:05:24 +0200
commit4f49b16079b27d7ce633619e4cddfdf2bffbc952 (patch)
treec296c1e7f3c3e2f6859c6d3a1b1b208779b89679 /tools/copland/tests/fixtures/org/security.html
downloadrelic-master.tar.gz
initial commitHEADmaster
Diffstat (limited to 'tools/copland/tests/fixtures/org/security.html')
-rw-r--r--tools/copland/tests/fixtures/org/security.html9
1 files changed, 9 insertions, 0 deletions
diff --git a/tools/copland/tests/fixtures/org/security.html b/tools/copland/tests/fixtures/org/security.html
new file mode 100644
index 0000000..38707e0
--- /dev/null
+++ b/tools/copland/tests/fixtures/org/security.html
@@ -0,0 +1,9 @@
+<div class="org-document">
+<h1 class="org-title">&lt;img src=x onerror=alert(1)&gt;</h1>
+<p>Raw &lt;script&gt;alert(1)&lt;/script&gt; and &quot;quotes&quot;.</p>
+<p><a href="https://example.test/&quot; onmouseover=&quot;alert(1)">attribute</a> file scheme confusion</p>
+<pre class="org-block org-unknown-block"><code>&lt;img src=x onerror=alert(1)&gt;</code></pre>
+<pre class="org-block org-src has-language"><code class="language-sh">echo &quot;unterminated and escaped &lt;tag&gt;&quot;
+</code></pre>
+</div>
+