XSS on any Shopify shop via abuse of the HTML5 structured clone algorithm in postMessage listener on "/:id/digital_wallets/dialog"
该报告还没有中文解读。
原文摘录
摘自原文(9307 字符中的一小部分)
Description The `/:id/digital_wallets/dialog` endpoint is used to display a small dialog box relating to the "digital wallets" functionality on a shop. The endpoint includes a script that listens for postMessages without validating the origin of messages. However, the impact of the missing …
原文中的代码
this._messageHandler = function(event) {
if (event.data) {
if (event.data.type && event.data.digitalWalletsDialog) {
c(i, event.data.type, event.data.payload);
}
}
}
this._localWindow.addEventListener("message", this._messageHandler)默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 Shopify 所有。
时间线
- 报告提交
- 公开披露
阅读 HackerOne 原文 ↗作者 @bored-engineer · 版权归作者与 Shopify 所有