Skip to content
XSS Advisory Beginner CVE-2021-21801CVE-2021-21802CVE-2021-21803

Advantech R-SeeNet device_graph_page.php Multiple Reflected XSS vulnerabilities

The device_graph_page.php script in Advantech R-SeeNet reflects the graph, device_id, and is2sim parameters into an HTML attribute without sanitisation. An attacker can craft a URL that, when visited by a victim, executes arbitrary JavaScript in the victim's browser.

Member Follow

Originally disclosed on Cisco Talos

Critical 9.6 View original

Multiple cross-site scripting vulnerabilities exist in the devicegraphpage.php script functionality of Advantech R-SeeNet v 2.4.12 (20.10.2020). If a user visits specially crafted URLs, it can lead to arbitrary JavaScript code execution in the context of the targeted user’s browser.

Member, on Cisco Talos

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

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

The application reads user-supplied GET parameters and echoes them directly into an HTML attribute without encoding or validation.

Impact

An attacker could execute arbitrary JavaScript in a victim's browser, potentially stealing data or performing actions as the victim, and the victim does not need to be logged in.

What the attacker needed

Victim visits a crafted URL

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.

Cross-site scripting (XSS) happens when a website takes input from a URL and puts it directly into the page without cleaning it. Here, three URL parameters are placed inside an image tag, so an attacker can break out of the tag and run their own JavaScript. The victim just needs to click a link; they do not need to be logged in.

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 Member

View all

4 more disclosed reports, best first.

More from Cisco Talos

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.