<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Bug Bounty on RORO's blog</title><link>https://blog.rodolpheg.xyz/tags/bug-bounty/</link><description>Recent content in Bug Bounty on RORO's blog</description><generator>Hugo</generator><language>en</language><managingEditor>contact@rodolpheg.xyz (0xRo)</managingEditor><webMaster>contact@rodolpheg.xyz (0xRo)</webMaster><lastBuildDate>Sun, 10 May 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://blog.rodolpheg.xyz/tags/bug-bounty/index.xml" rel="self" type="application/rss+xml"/><item><title>My First Bug Bounty: A DOM XSS</title><link>https://blog.rodolpheg.xyz/posts/dom-xss-postmessage-bug-bounty/</link><pubDate>Sun, 10 May 2026 00:00:00 +0000</pubDate><author>contact@rodolpheg.xyz (0xRo)</author><guid>https://blog.rodolpheg.xyz/posts/dom-xss-postmessage-bug-bounty/</guid><description>&lt;blockquote>
&lt;p>&lt;strong>Disclosure notice&lt;/strong>: Scope, program name, and company identity are redacted per responsible disclosure policy. All code samples are either anonymized or reconstructed to illustrate the concept. The vulnerability was reported through a bug bounty platform and has since been remediated.&lt;/p>
&lt;/blockquote>
&lt;hr>
&lt;h2 id="tldr">TL;DR&lt;/h2>
&lt;ul>
&lt;li>Found a DOM-based XSS in a &lt;code>/apps/returns&lt;/code> page of a major e-commerce brand&lt;/li>
&lt;li>Root cause: &lt;code>window.location.href = event.data.data&lt;/code> - no origin check, no scheme validation&lt;/li>
&lt;li>Attack vector: any cross-origin window holding a reference via &lt;code>window.open()&lt;/code> can deliver a &lt;code>javascript:&lt;/code> URI&lt;/li>
&lt;li>Impact: full JavaScript execution in the target origin → session cookies, localStorage, same-origin API calls, account takeover&lt;/li>
&lt;li>CVSS 9.0&lt;/li>
&lt;li>Bonus: discovered a CSRF-less address destruction chain while exploring the impact&lt;/li>
&lt;/ul>
&lt;hr>
&lt;h2 id="how-it-started">How it started&lt;/h2>
&lt;p>I was hunting on a major beauty e-commerce brand running on Shopify. Nothing fancy - just reading the page source, grepping for interesting patterns, looking for that one thing someone forgot to validate.&lt;/p></description></item></channel></rss>