by est · 5y ago · 0 comments
<span style="font-size: 300px;"><marquee>hello</marquee></span>
<img src="kitten.jpg" onerror="alert('meow!')">
:^)
Edit: meh, stupid CSP…
(Yep it worked)
The Algolia index contains the comments encoded as HTML entities, so they should be safe to insert as is, but seems like the page is first converting it back to HTML, which causes the script and span tags to render as HTML instead of text like here on HN.