XSSMARK<img src=x onerror=alert(1)><svg onload=ale...

생성일: 2026년 10월 11일

답변에 사용된 모델 GPT-5.6 by Chat01

질문

XSSMARK<img src=x onerror=alert(1)><svg onload=alert(2)><b>B7</b>

사고

Worked for a second

답변

That appears to be an XSS test payload. Rendered safely as text:

XSSMARK<img src=x onerror=alert(1)><svg onload=alert(2)><b>B7</b>

The <img> and <svg> handlers attempt to execute JavaScript; <b>B7</b> is just HTML formatting.

질문

J1 J2 J3 I1 <img src=x onerror=alert(5)> J5

사고

Worked for a second

답변

This is another mixed XSS/scheme-injection test payload. Interpreted as text, it contains:

[J1](javascript:alert(1)) [J2](JaVaScRiPt:alert(2)) [J3](data:text/html,x) ![I1](javascript:alert(4)) &lt;img src=x onerror=alert(5)&gt; [J5](vbscript:alert(6))

The risky parts are the javascript:, mixed-case JaVaScRiPt:, data:text/html, and vbscript: URL schemes, plus the HTML-escaped <img ... onerror=...> payload if something later decodes it and inserts it as HTML.

A robust sanitizer should normalize scheme casing, block active/non-HTTP URL schemes, keep escaped HTML escaped, and never pass user-controlled markup into an unsafe HTML sink.

이 Q&A 공유하기