Skip to content
XSS Disclosed report Beginner

Reflected XSS on https://make.wordpress.org via 'channel' parameter

A reflected cross-site scripting flaw existed in the 'channel' parameter on make.wordpress.org, allowing an attacker to inject a script that executes in a victim's browser. This could let the attacker steal cookies or hijack sessions.

gnux Follow

Originally disclosed on HackerOne

  • Triaged in 4 hours
  • Fixed in 18 hours
  • Paid in 38 hours
  • Disclosed after 32 days

Hi there, I just found a reflected XSS on make.wordpress.org domain.

steps to reproduce :

  1. visit this link :

https://make.wordpress.org/chat/logs?channel=16%22%3E%3Cimg%20src=x%20onerror=alert(document.domain)%3E&date=2019-07-21&no_bots=1 2. xss pop up will occurs

POC: see:wp reflected xss.png

Note: it works on the latest version of firefox

Impact

some of xss impact like stealing cookies, session hijacking, etc ..

Attachments

wp_reflected_xss.png
wp_reflected_xss.png From the original on HackerOne

The original report as published on HackerOne, by gnux. 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 'channel' query parameter was reflected into the HTML response without proper output encoding.

Impact

An attacker could steal cookies or hijack a session, though the report only states these as examples and does not demonstrate them.

What the attacker needed

Victim clicks a crafted link; uses Firefox (latest version)

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 when a website puts user-supplied text into a page without making it safe, so a malicious link can run code in the visitor's browser. Here, the 'channel' value in the URL was reflected into the page, and a crafted link caused a script to run. That script could read the user's cookies or act as the user.

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 gnux

View all

6 more disclosed reports, best first.

More from WordPress

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.