makoo

Tools

Hacker's toolbox

Everyday tools for rooms and CTFs. They run entirely in your browser: nothing you type is sent to Makoo's server.

XSS playground

Inject HTML and JavaScript into three common contexts, watch it run in an isolated sandbox, then turn on the fix.

Your input is placed between HTML tags, like a search results page.

Try:

HTML the page produces

<p>Search results for: <script>alert('XSS')</script></p>

Preview (isolated sandbox)

No script ran (yet).
The fix for this context

Escape < > & " ' before inserting text into HTML. React does this automatically for {text}.

Defense in depth: in β€œFix it” mode the preview also has a Content Security Policy that blocks inline scripts, the same kind of policy that protects Makoo itself. The preview runs in a sandboxed frame with its own opaque origin, so even a working payload can't read Makoo's cookies or pages.