November 24, 2026
Base64-encoded Reflected XSS in Indeed’s Email Marketing | Bug Bounty WriteUp
When doing bug bounty, you come across a lot of false positives. I like to focus on XSS vulnerability’s, because these almost (always) can…
By Tim Zweers
3 min read
When doing bug bounty, you come across a lot of false positives. I like to focus on XSS vulnerability's, because these almost (always) can be escalated to high-servity chained attacks in web-application. In this write up, i will show how i exploited a base64-encoded reflected XSS vulnerability in indeed's bug bounty program.
The target and how i found it
When doing recon for an wildcard domain (e.g. *.indeed.com ), i like to filter out all non-protected subdomains. I almost always use https://subdomainfinder.c99.nl/ to enumerate the subdomains. The nice thing about this online enumerator is that it shows which subdomains are cloudflare protected. At the bottom of subdomainfinder, an overview of IP's that are bound to an subdomain can be found.
Anyway's, when targetting an big program (like indeed) you will get hundreds to thousands of subdomains. I didn't like this one bit, so i looked at IP's at the bottom that would have 3 or 4 subdomains bound to one IP adress (It sometimes means that it's a small service, served on one subdomain <- that could have more interesting vulnerability's and attack service).
The subdomain preferences.jm.indeed.com stood out, so i wanted to know more. I used web.archive.com to get interesting input's (because fuzzing sometimes won't tell you this and internet archiving is far more interesting). I found an that returned the following:
https://preferences.jm.indeed.com/unsubscribe-page?&ence=<base64-encoded-email>https://preferences.jm.indeed.com/unsubscribe-page?&ence=<base64-encoded-email>And i thought bingo!
Exploiting the endpoint
At first, the email reflected (decoded) into an input, so my thought was -> what if i input <script>alert();</script>, base64 encode it and put it into the ?ence= parameter??
Nothing happend, and than i was trying to exploit it about 30min with payloads.. without using my brain.
The root cause was an innerHTML sink in the javascript. It got triggered, but no alert would pop because the <b> needed to be closed, before an inline XSS payload could be triggered. After weaponizing the following payload:
</b><img src=x onerror="alert(document.cookie);"><b>
Base64 (Encoded):
PC9iPjxpbWcgc3JjPXggb25lcnJvcj0iYWxlcnQoZG9jdW1lbnQuY29va2llKTsiPjxiPg==</b><img src=x onerror="alert(document.cookie);"><b>
Base64 (Encoded):
PC9iPjxpbWcgc3JjPXggb25lcnJvcj0iYWxlcnQoZG9jdW1lbnQuY29va2llKTsiPjxiPg==It finally triggered:
Escalating the vulnerability
Now it has been a year ago that i found this vulnerability. The first thought that popped in my mind was, what if i just submit it. Am i going to be the first one that found this or is this a duplicate? I know that without demonstrating impact, this just will be a simple low or (maybe) a medium.
I wanted the full medium for sure. So i went looking for another attack vector on this subdomain. First i thought about combining this with OAUTH redirect misconfiguration, short story <- that didn't work. Than i lost my mind about where this could be used, as it was a third dimension subdomain that triggered XSS.
Looking at the *.jm.indeed.com subdomain, there was an e.jm.indeed.com where an email marketing CMS was hosted:
Looking at the CORS, an forged HTTP request via an fetch() javascript script could be executed on this page. Now i want to make it clear: THIS WAS AN TECHNICAL THEORY. I did not verify this, because it was at the beginning of my bug bounty hunting (but this escalation vector was all i had).
At last, the submission part
I like the way bugcrowd triagers handle submission's (as they get a lot of false-positives). I submitted this vulnerability in November 2025 i think. A lot of going back and forth about showing impact, weaponizing an <script> into the payload and than -> the verifying time loop.
It turned friday and i wen't to the bar with my friends, i got an message that my submission was accepted and rewarded with a nice bounty :)
The money doesn't really matter to me really, altough it makes bug bounty more fun. It's more about my knowledge i delevop, when i have time to do so! I hope you guy's might have learned something (with this write up) or adopt one of the techniques i showed in my recon steps.
Thanks for reading! See u in the next one