Markdown link XSSEMBEDDED

Check whether Markdown, MDX, or editor renderers safely normalize and sanitize link URLs, raw HTML, and image URLs.

HTML payload check

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

  • Sanitize the final HTML after Markdown rendering
  • Validate link URLs through a protocol allowlist
  • Check whether raw HTML support is enabled

Payload

Payload to copy

Paste this into a Markdown-backed editor and inspect the rendered href.

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