Technique · XSS
postMessage abuse
121 disclosed reports use this technique, 28 with a public bounty (median $1,500, highest $63k).
Reports
Filter and sortPaid and upvoted first.
-
-
XSS on slippers.gitlab.com lead to account takeover on gitlab.com abusing OAuth flowXSS High GitLab Fixed in 3 months
-
-
-
-
-
-
DOM XSS Exploitation via postMessage in an iframeXSS Write-up
-
-
-
How I Turned a Tiny Security Flaw into a $250 BountyXSS Write-up
-
1-click account takeover via XSS in the code editor in gitlab.comXSS High GitLab Fixed in 9 days
-
-
Read any repo file (incl. private ones) via postMessage on both gitlab.com/self-hosted instance (bypass #1417680)XSS Medium GitLab Fixed in 4 months
-
Visual Studio Code Jupyter Notebook RCEXSS Microsoft Write-up
-
DOM Cross-Site Scripting Via postMessage in AnnounceKitXSS Announcekit Write-up
-
Cross site scripting in reveal.js
XSS Medium hakimel/reveal.js huntr
-
Stealing Credit Card Info with CSSXSS Write-up
-
Solving DOM XSS PuzzlesXSS Write-up
-
-
XSS via postMessage in chat.mozilla.orgXSS Medium Mozilla Fixed in 16 days
-
[Google VRP] Hijacking Google Docs ScreenshotsXSS Write-up
-
Google VRP Hijacking Google Docs ScreenshotsXSS Google Write-up
-
-
-
More Last Pass security vulnerabilitiesXSS Write-up
-
-
Ghost CMS 4.3.2 – Cross-Origin Admin TakeoverXSS Write-up
-
Persistent XSS to steal passwords(Paypal)XSS PayPal Write-up
Guides and techniques
View allThe best explainers, cheat sheets and technique posts on postMessage abuse, from around the web.
-
PimpMyCaido #1: Hunt client-side vulnerabilities with DOMLogger++Shows how DOMLogger++ with Caido monitors JavaScript sinks in real time to surface DOM XSS and prototype pollution.
yeswehack.com
-
Exploiting PostMessage vulnerabilities: A complete guideComplete guide to PostMessage flaws, covering how to spot missing or weak origin checks and exploit them for data theft or XSS.
Explainer intigriti.com
-
postMessage XSS: The Listener Nobody AuditsExamines postMessage listeners that are rarely audited and how weak origin checks can lead to cross-site scripting.
Technique kd-200.medium.com
-
postMessage Braindump : a brief postMessage testing methodologySets out a practical methodology for testing postMessage handlers, covering origin checks, message sinks and exploitation paths.
Methodology rhynorater.github.io
-
"Iframe and window.open Magic" by huliHuli explains how iframe and window.open interactions can be abused, covering cross window scripting and related browser quirks.
Technique blog.huli.tw