Stored XSS in Rocket.Chat HTML File Export — Unauthenticated Entry via LiveChat
该报告还没有中文解读。
原文摘录
摘自原文(10033 字符中的一小部分)
Rocket.Chat's HTML file export feature (`rooms.export` API, `type=file`, `format=html`) writes message content and metadata directly into HTML output without any sanitization or entity encoding. An attacker — including an **unauthenticated** LiveChat visitor — can inject arbitrary JavaScript that …
原文中的代码
const message = italicTypes.includes(messageType)
? `<i>${messageObject.msg}</i>`
: messageObject.msg;
file.push(`<p><strong>${messageObject.username}</strong> (${timestamp}):<br/>`);
file.push(message);默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 Rocket.Chat 所有。
时间线
- 报告提交
- 公开披露
阅读 HackerOne 原文 ↗作者 @olidayw · 版权归作者与 Rocket.Chat 所有