Inject page in admin panel via Shopify.API.pushState
该报告还没有中文解读。
原文摘录
摘自原文(2101 字符中的一小部分)
Summary `Shopify.API.pushState` call the method `handleRoutePushEvent`, allows you to change routes to open pages from admin panel:
原文中的代码
handleRoutePushEvent({pathname: e, search: t, state: a, hash: o}) {
const {adminPath: n, history: i} = this.props // `adminPath` = `/admin`
, s = "".concat(n).concat(e);
// *** //
}默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 Shopify 所有。
时间线
- 报告提交
- 公开披露
阅读 HackerOne 原文 ↗作者 @tiago-danin · 版权归作者与 Shopify 所有