script tag injectionEMBEDDED

Check whether a raw script tag executes when user input is parsed as an HTML document.

HTML payload check

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

  • Verify whether input is escaped as text or parsed as a real script tag
  • Verify whether your HTML filter removes script tags and dangerous attributes
  • Verify whether CSP script-src blocks inline script execution

Payload

Payload to copy

The baseline payload for checking raw reflection into an HTML document.

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