Reflected XSS on formaction parameter
The formaction parameter reflected user input without proper sanitisation, allowing an attacker to inject JavaScript. The text also claims a possible cache poisoning angle that could make the payload persist for other users.
Originally disclosed on HackerOne
- Triaged in 20 hours
- Fixed in 11 days
- Disclosed after 16 months
Summary by the program
A reflected Cross-Site Scripting (XSS) vulnerability is identified in the formaction parameter of the target application. The vulnerability occurs when user-supplied data is reflected back without proper sanitization, allowing malicious JavaScript code injection. The issue is compounded by potential cache poisoning capabilities, which could enable the payload to persist and affect multiple users accessing the cached content.
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 application echoed the formaction parameter into the page without encoding or validating it.
Impact
An attacker could run JavaScript in a victim's browser and, if the cache poisoning claim holds, the payload could persist and affect multiple users.
What the attacker needed
User-supplied input reaches the formaction parameter
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.
Reflected cross-site scripting happens when a website takes something you typed or put in a link and shows it back on the page without cleaning it first. If that input includes code, the browser may run it as if the site itself wrote it. Here the vulnerable spot was a parameter called formaction.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.