Monday, November 2, 2026

SVG XSS Lab: Slip Script Past a Tag-Stripping Sanitiser

ProfilePics lets you upload an SVG as your avatar and renders it on the page. Its sanitiser strips <script> tags and calls it a day. But SVG is XML with dozens of ways to run JavaScript that are not a script tag — and the sanitiser leaves those alone. Lab at a glance: Intermediate · 80 XP · about 15 minutes · runs in your browser, no signup or setup. Try it yourself first; the full solution is behind a…

Read full article →

No comments:

Post a Comment