Re:I created an ephemeral group chat app for strangers
by Banditoz on Thursday December 28, 2023 @04:30AM
(#38791661)
Neat little project, but you can pass HTML tags directly into the chat! <script> doesn't seem to run, but <img> can load from external sites. Be careful!
[ Parent
| on HN ]
Re:I created an ephemeral group chat app for strangers
by tejitopia on Thursday December 28, 2023 @05:07AM
(#38791911)
How can I fix this? this is my first full stack app I've built and it's nice seeing users interact with the site
Re:I created an ephemeral group chat app for strangers
by Egdhifh on Thursday December 28, 2023 @05:10AM
(#38791931)
https://cheatsheetseries.owasp.org/cheatsheets/Cross_Site_Sc...
Edit: this focuses on script tags and other means to inject code, but most defenses also work for other injected tags