Skip to content
XSS Disclosed report Beginner

RXSS on ████ via q parameter

The search endpoint reflected the user-supplied 'q' parameter back into the page without sanitisation or encoding. An attacker could craft a URL that runs malicious JavaScript in another user's browser.

mosalah1102 Follow

Originally disclosed on HackerOne

  • Triaged in 47 hours
  • Fixed in 48 days
  • Disclosed after 14 months

Summary by the program

A reflected Cross-Site Scripting (XSS) vulnerability is identified on the █████████ website at the search endpoint. The vulnerability is present in the 'q' parameter of the search functionality, where user-supplied input is reflected back to the page without proper sanitization or encoding. This allows malicious JavaScript code to be executed in the context of other users' browsers when they visit a specially crafted URL.

The original report as published on HackerOne, by mosalah1102. 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 search page echoed the 'q' parameter into its HTML output without escaping or encoding it.

Impact

An attacker could execute JavaScript in the context of other users' browsers when they visit a crafted URL.

What the attacker needed

Victim clicks a crafted link

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.

A reflected cross-site scripting (XSS) bug means the website takes something you type, such as a search term, and puts it straight into the page without cleaning it. If the text contains code instead of plain words, the browser runs that code as if the site itself had written it. An attacker can then send a link that, when clicked, runs their code in the victim's browser.

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 mosalah1102

View all

4 more disclosed reports, best first.

More from Mars

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.