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.
Originally disclosed on HackerOne
- 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.
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.