Closed
Description
Just like #68, we need to create a sandbox for the markup.
Currently, it's possible to add a <meta http-equiv="refresh" content="1; URL=http://evil.corp">
to the HTML markup, and trigger a full page refresh.
This shouldn't be possible.
We should render the markup in an iframe
with the proper restrictions. (See #68). It's quite easy to render the markup (with the srcdoc
attribute). But we also need to inject the custom scrollbars, and tailwind styling. That's what will consume the most time of this ticket.