Skip to content
XSS Write-up Beginner

Jquery xss

The jQuery UI ThemeRoller page reflected a crafted query parameter into the page without proper encoding, allowing script execution. An attacker could craft a link that runs arbitrary JavaScript in a victim's browser on the jQuery site.

Shashank Follow

Published on blog.shashank.co

The original lives on blog.shashank.co

We do not hold its text, 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 write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the ThemeRoller page reflected a URL parameter into the HTML without encoding it.

Impact

An attacker could run JavaScript in a victim's browser on the jQuery site, though the text gives no further detail on what that script could do.

What the attacker needed

Victim opens a crafted link

The fix

The issue was fixed, though the text does not describe how.

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 write-up has not been written yet. The Original tab links to the source.

Cross-site scripting (XSS) is when a website takes something from the address bar or a form and puts it into the page without cleaning it first, so an attacker can make the page run their own JavaScript. Here, a link with a special value in the address caused the jQuery UI ThemeRoller page to run script. The report is very short and does not show the exact steps.

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 Shashank

View all

6 more disclosed reports, best first.

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.