All fixtures · Hostile input (each one attack) · hostile/02-raw-html-inline.dh.md
Source
---
title: Inline HTML with event handlers
expect: no onerror or onload attribute; the tags show as text
---
Text with an image <img src=x onerror="alert(1)"> and a <svg onload="alert(1)"></svg> and <a href="javascript:alert(1)">a link</a>.
LLM view
---
title: Inline HTML with event handlers
source: hostile/02-raw-html-inline.dh.md
---
<!-- Made by dh llm from the source; nobody edits this file. -->
Text with an image <img src=x onerror="alert(1)"> and a <svg onload="alert(1)"></svg> and <a href="javascript:alert(1)">a link</a>.Text with an image <img src=x onerror="alert(1)"> and a <svg onload="alert(1)"></svg> and <a href="javascript:alert(1)">a link</a>.