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

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.