RXSS on ████ via configUrl parameter
The Swagger UI page reflected the configUrl parameter without proper sanitisation, allowing script injection. An attacker could execute malicious scripts in a victim's browser if the victim visited a crafted link.
Originally disclosed on HackerOne
- Triaged in 13 hours
- Fixed in 22 days
- Disclosed after 3 months
Summary by the program
A Reflected Cross-Site Scripting (RXSS) vulnerability is reported on the Swagger UI page of the Royal Canin eVet API. The vulnerability is identified in the configUrl parameter of the URL █████████. This security flaw allows an attacker to inject malicious scripts into the web page, which are then executed in the context of other users' browsers when they visit the compromised page.
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 Swagger UI page inserted the configUrl parameter into the page without sanitising or encoding it.
Impact
An attacker could run scripts in another user's browser session on the affected page, though the text gives no further detail on what those scripts could achieve.
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 bug means a web page takes something from the address bar and puts it straight into the page without cleaning it. If that something is a script, the browser runs it as if the site itself had written it. Here the Swagger UI page did this with a setting called configUrl, so a crafted link could run code in the visitor'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.