Skip to content
XSS Disclosed report Beginner

XSS on gravatar

The report claims a cross-site scripting vulnerability on Gravatar, where an attacker could inject malicious JavaScript that executes in a victim's browser. The author states they found 171 XSS issues across different directories and parameters, but provides only two proof-of-concept links and a vague reproduction method.

simon90 Follow

Originally disclosed on HackerOne

  • Fixed in 2 months
  • Disclosed after 3 months

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:XSS.

Severity:High.

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):

1)http://grabilla.com/04318-cb553271-51b2-4fba-81ea-9a611d1db71f.html

2)http://grabilla.com/04318-00311a7d-3dd3-4032-8c79-3c3656330216.html

How to reproduce it:

1)Create an HTML file with this code:

See the pastebin link for the HTML CODE: http://pastebin.com/fsAKWTe1

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

http://grabilla.com/04318-271a0763-cad8-4482-ab02-3d8948f33b04.html

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:

FINAL POC: http://grabilla.com/04318-ff2c5eea-0491-4841-977a-a4b7b1fafc9e.html

Well, my report finish here,

Thanks and best regards,

Simone

The original report as published on HackerOne, by simon90. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the application fails to properly encode or sanitise user-supplied input before reflecting it in a web page, allowing script injection.

Impact

An attacker could execute arbitrary JavaScript in a victim's browser, potentially accessing cookies or session tokens, though the report provides no evidence of actual exploitation beyond a prompt alert.

What the attacker needed

Victim opens a crafted HTML file; victim hovers over specific elements

How it was found

  1. Create an HTML file with the provided code.
  2. Open the HTML file in Mozilla Firefox.
  3. Hover the mouse over 'JSON' or 'XML' to trigger the alert.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

Cross-site scripting (XSS) is a flaw where a website lets an attacker sneak harmful code into a page that other people view. When a victim opens the page, their browser runs the code as if it came from the trusted site, which can let the attacker steal cookies or session tokens. This report claims such a flaw exists on Gravatar but gives very little detail to verify it.

What is XSS?

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.

More by simon90

View all

8 more disclosed reports, best first.

More from Automattic

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Cross-site scripting (XSS)

The lesson behind this report.

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.