Skip to content
XSS Write-up Beginner

How do I get cross site scripting(“xss”) in “Nokia”

A login endpoint on a Nokia subdomain reflected a URL parameter without proper encoding, allowing an attacker to inject an iframe with a JavaScript URI. An attacker could craft a link that executes script in the victim's browser.

EL Sayed Mohammed Follow

Published on medium.com

I’ve started to search for a bypass and used the Search function in Chrome Developer tools to search this endpoint /login in all JS files to check for another vulnerable param, but found another endpoint:

EL Sayed Mohammed, on medium.com

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

How it worked

Impact

An attacker could execute arbitrary JavaScript in a victim's browser when the victim visits a crafted link, potentially leading to session theft or other actions.

What the attacker needed

Victim clicks a crafted link

How it was found

  1. Identify the login endpoint with a 'url' parameter.
  2. Use a tool to find a bypass for the filter.
  3. Inject an encoded payload that creates an iframe with a JavaScript URI.

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 input from a user and puts it into a page without cleaning it, so an attacker can make the page run their own code. Here, the 'url' parameter was reflected back into the page, and by using encoded characters the author bypassed the site's filter to insert an iframe that ran JavaScript.

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 EL Sayed Mohammed

View all

1 more disclosed report, best first.

More from Nokia

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.