Persistent DOM-based XSS in https://help.twitter.com via localStorage
该报告还没有中文解读。
原文摘录
摘自原文(5079 字符中的一小部分)
I've found a DOM-based XSS vulnerability in the website **help.twitter.com** that persists via a localStorage key **lastArticleHref**. The value of this localStorage key is used to dynamically generate a piece of HTML code without proper encoding or filtering allowing an attacker to inject …
原文中的代码
this.lastArticleBreadcrumbs.shift();
var t = this.lastArticleBreadcrumbs.map(function(t, r) {
return r === e.lastArticleBreadcrumbs.length - 1 ? '<a class="hp03__link twtr-type--roman-16" href="' + e.lastArticleHref + '">' + t + "</a>" : '<span …默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 X / xAI 所有。
时间线
- 报告提交
- 公开披露
阅读 HackerOne 原文 ↗作者 @harisec · 版权归作者与 X / xAI 所有