Skip to content
XSS Write-up Beginner

The Oracle story of Stored XSS and HTML injection

A stored cross-site scripting and HTML injection vulnerability existed in the first name and last name fields of a NetSuite subdomain. An attacker could inject a script that executes in the context of the victim's browser when the page is viewed.

medium.com

Published on medium.com

I was just chilling in my room and scrolling randomly then once i saw Vulnerability Dis-closer program for oracle. And it was one of a awesome thing that I got at that time (After my cuppa-chino).

Hritom Bhattacharya, 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

What the attacker needed

Access to the NetSuite subdomain; ability to input data in name fields

How it was found

  1. Perform subdomain enumeration to find a NetSuite subdomain.
  2. Open the subdomain and locate the first name and last name input fields.
  3. Enter a script payload in those fields to trigger XSS and HTML injection.

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.

Stored cross-site scripting (XSS) happens when a website saves user input without cleaning it and later shows it to other people. The saved input can include code that runs in the victim's browser, letting the attacker do things like steal session cookies or change the page. Here, the first and last name fields were the entry points.

What is XSS?

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.

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.