Posts sent via websockets aren't sanitized properly
该报告还没有中文解读。
原文摘录
摘自原文(12728 字符中的一小部分)
Posts aren't sanitized the same way when sent via Websockets as they are when saved to the database.
原文中的代码
const MM_INSTANCE_URL = process.env.MM_INSTANCE_URL; const MM_AUTH_TOKEN = process.env.MM_AUTH_TOKEN; const MM_USER_ID = process.env.MM_USER_ID; const MM_CHANNEL_ID = process.env.MM_CHANNEL_ID; // the ID of the channel where we create the post const MM_TARGET_ID = "96nffx8oztncuyyxq7nj7p8seh"; // …
默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 Mattermost 所有。
时间线
- 报告提交
- 公开披露
阅读 HackerOne 原文 ↗作者 @c0rydoras · 版权归作者与 Mattermost 所有