Starbucks · Report #209736
DOM XSS on teavana.com via "pr_zip_location" parameter
Validstatus
mediumseverity
15upvotes
3 May 2017disclosed
How it was found
Hello Starbucks team,,
I've discovered DOM XSS on teavana.com involving pr_zip_location URL parameter. PoC:
Works in all major browsers. Vulnerable code is in full.js:
var DR = Z(DS) + "/content/" + k(DQ) + "/contents.js";
That allows to execute absolutely arbitrary javascript in the context on teavana.com domain. As described in #202011 that directly leads to theft of customer account data and account takeover, hence I set severity to Critical.
Also, I have discovered a number of other XSS attacks on similar pages, involving other parameters and sinks. Should I submit them all as individual bug reports?
Thanks.