Prototype Pollution leads to XSS on https://blog.swiftype.com/#__proto__[asd]=alert(document.domain)
该报告还没有中文解读。
原文摘录
摘自原文(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 所有