Skip to content
XSS Disclosed report Beginner

RXSS in ███ via S parameter

The search feature reflects the 's' parameter without sanitising it, so a crafted search term can run malicious JavaScript in a victim's browser. An attacker could use this to execute script in the context of a user who submits the manipulated search.

mosalah1102 Follow

Originally disclosed on HackerOne

Medium 6.2 View original
  • Triaged in 2 hours
  • Fixed in 23 days
  • Disclosed after 10 months

Summary by the program

A Reflected Cross-Site Scripting (RXSS) vulnerability is identified in the search functionality of the application. The vulnerability is triggered when a user manipulates the search parameter 's'. When the search statement is edited by a victim, malicious JavaScript code can be executed in their browser context. The vulnerability is discovered in the application's search feature, where user input is not properly sanitized before being reflected back to users.

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

Impact

An attacker could run JavaScript in a victim's browser session, though the text gives no details of what that script could then do.

What the attacker needed

Victim submits a crafted search term

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.

When you type something into a search box, the site usually shows it back to you, for example 'results for cats'. If the site puts that text into the page without cleaning it first, an attacker can make the text contain a small script. When someone searches for that text, their browser runs the script as if the site itself had written 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 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.