SVG / MathML onload payloadEMBEDDED

Check whether SVG, MathML namespaces, event attributes, and nested HTML bypass weak filters.

HTML payload check

This scenario tests how user input is rendered into HTML / DOM, not iframe sandbox behavior.

  • Verify whether your service actually needs to allow svg/math tags
  • Verify that event attributes and nested HTML inside namespaces are removed
  • Use structural HTML filtering instead of a tag-name blacklist

Payload

Payload to copy

A representative SVG payload that executes through onload without a script tag.

Paste into

An editor, comment, profile, or HTML-rendering input in a dev/staging surface you are authorized to test

Result rule

Execution is a warning sign. Expected defenses render the code as text or remove the executable parts.

Preview

The preview intentionally performs unsafe rendering for learning. In a real service, this payload should be escaped as text or removed.

Log

// no logs

Explanation