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

Создано: 26 октября 2026 г.

Отвечено с использованием GPT-5.6 от 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