I created an ephemeral group chat app for strangers
commonroom.chat
I created an ephemeral group chat app for strangers
1–10 of 39 posts
Re: I created an ephemeral group chat app for strangers
#2Re: I created an ephemeral group chat app for strangers
#3Re: I created an ephemeral group chat app for strangers
#4Re: I created an ephemeral group chat app for strangers
#5Site is susceptible to some kind of css attack. Too bad.
Re: I created an ephemeral group chat app for strangers
#6Neat little project, but you can pass HTML tags directly into the chat! doesn't seem to run, but can load from external sites. Be careful!
Re: I created an ephemeral group chat app for strangers
#7Site is susceptible to some kind of css attack. Too bad.
Re: I created an ephemeral group chat app for strangers
#8Neat little project, but you can pass HTML tags directly into the chat! doesn't seem to run, but can load from external sites. Be careful!
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
Edit: this focuses on script tags and other means to inject code, but most defenses also work for other injected tags
Re: I created an ephemeral group chat app for strangers
#9Re: I created an ephemeral group chat app for strangers
#10Earlier quoted context omitted.
How can I fix this?
You can try escaping HTML submitted from the form. Or even simply detecting the presence of any HTML tag and rejecting such submissiobs with a friendly error message.