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

생성일: 2026년 10월 26일

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

질문

<img src=x onerror=alert(1)> <svg onload=alert(1)> <iframe srcdoc=alert(1)> [x](javascript:alert(1)) <script>alert(1)</script>

사고

Worked for a couple of seconds

답변

Those are common XSS test payloads covering event handlers, SVG, iframe srcdoc, javascript: URLs, and <script> tags.

I won’t execute them here. If you’re testing an application, I can help you safely assess whether its HTML sanitization or Content Security Policy blocks these vectors, or review your sanitizer configuration.

이 Q&A 공유하기