POJIA破甲
地图 / XSS on any Shopify shop via abuse of the HTML5 structured clone algorithm in postMessage listener on "/:id/digital_wallets/dialog"

XSS on any Shopify shop via abuse of the HTML5 structured clone algorithm in postMessage listener on "/:id/digital_wallets/dialog"

跨站脚本 / DOM 型 XSS / #231053

厂商
Shopify
严重程度
未评级
赏金
$3,000
弱点
DOM 型 XSS
研究员
@bored-engineer
披露日期
2017-05-30
资产
—
CVE
—

该报告还没有中文解读。

原文摘录

摘自原文(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 所有

同类报告

Cross-site Scripting (XSS) on HackerOne careers pageHackerOne · 2019-02-17 · $500XSS via Direct Message deeplinksX / xAI · 2019-05-09DOM Based XSS in www.hackerone.com via PostMessageHackerOne · 2019-02-21 · $500Stored XSS on TikTok AdsTikTok · 2022-08-19H1514 DOMXSS on Embedded SDK via Shopify.API.setWindowLocation abusing cookie StuffingShopify · 2019-04-17XSS on Desktop ClientKeybase · —