TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: Roomchat – No signup instant custom chat rooms

19 点作者 nerdburn将近 10 年前

5 条评论

mike-cardwell将近 10 年前
XSS by writing the message:<p><pre><code> &lt;i&lt;script&gt;&lt;&#x2F;script&gt;mg src=&quot;#&quot; onerror=&quot;alert(1)&quot;&gt; </code></pre> Just stripping out tags doesn&#x27;t work. Stripping out the script tags there simply ends up creating another new tag. You need to understand and implement proper escaping.
timebomb将近 10 年前
Cool! Looks like HTML injection isn&#x27;t blocked whatsoever. With chat messages being loaded as people enter, it could lead to someone exploiting everyone that enters your site.
评论 #10013670 未加载
nerdburn将近 10 年前
We created this in Meteor.js, pretty fun. Great for short term chat rooms that don&#x27;t need a sign up. Would love feedback!
nautical将近 10 年前
Please fix it : &lt;IMG SRC=# onmouseover=&quot;alert(&#x27;xxs&#x27;)&quot;&gt;
nautical将近 10 年前
People ... It still has XSS issues ..