Skip to content
XSS Disclosed report Beginner

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.

kh4rish34v3n Follow

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.

The original report as published on HackerOne, by kh4rish34v3n. 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 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.

More by kh4rish34v3n

View all

1 more disclosed report, 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.