Automattic: XSS on gravatar

ID H1:13794
Type hackerone
Reporter simon90
Modified 2014-09-07T16:57:11


Hello team of Wordpress!

I am Simone and I am here to report a XSS on gravatar!

I think that you don't believe me, but it's true, because I have found 171 XSS with different directory and parametrers!

Let's the details:



Vulnerability description:

Cross site scripting (also referred to as XSS) is a vulnerability that allows an attacker to send malicious code (usually in the form of Javascript) to another user. Because a browser cannot know if the script should be trusted or not, it will execute the script in the user context allowing the attacker to access any cookies or session tokens retained by the browser.

Proof of concept of the XSS (Only two):



How to reproduce it:

1)Create an HTML file with this code:

See the pastebin link for the HTML CODE:

2)Open it on Mozilla, Like this..poc below:

3)Now, the payload is something like: "onmouseover='prompt(916137)'bad="> right? Well, pass the mouse on "JSON" or "XML" or etc and you will see the alert! :)

Like this:


Well, my report finish here,

Thanks and best regards,