POJIA破甲
地图 / Prototype Pollution leads to XSS on https://blog.swiftype.com/#__proto__[asd]=alert(document.domain)

Prototype Pollution leads to XSS on https://blog.swiftype.com/#__proto__[asd]=alert(document.domain)

跨站脚本 / DOM 型 XSS / #998398

厂商
Elastic
严重程度
中危
赏金
—
弱点
DOM 型 XSS
研究员
@s1r1u5
披露日期
2021-08-16
资产
*.swiftype.com
CVE
—

该报告还没有中文解读。

原文摘录

摘自原文(2248 字符中的一小部分)
**Summary:** deparam function which parses location.hash in https://s.swiftypecdn.com/install/v2/st.js is vulnerable to prototype pollution. There is a script gadget in the same js file which leads to XSS.
原文中的代码

 t.deparam = h = function(e, n) {
            var i = {}
              , r = {
                "true": !0,
                "false": !1,
                "null": null
            };
            return t.each(e.replace(/\+/g, " ").split("&"), function(e, o) {
                var s, a = o.split("="), …

默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 Elastic 所有。

时间线

  • 报告提交
  • 公开披露
阅读 HackerOne 原文 ↗作者 @s1r1u5 · 版权归作者与 Elastic 所有

同类报告

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 · —