Skip to content
XSS Disclosed report Beginner

[Stored XSS] sandbox.veris.in

A stored XSS existed in the member name and badge fields of the sandbox.veris.in portal, executing when the payload was submitted.

bogdantc Follow

Originally disclosed on HackerOne

  • Triaged in 19 hours
  • Fixed in 5 days
  • Disclosed after 18 days

Hello I want to report you another xss... but it's stored

Steps to reproduce it :

1 . First create a group . 2. Go to https://sandbox.veris.in/portal/members/ and add a member with name "><img src=x onerror=alert(1)> . 3. Add this member in a group ( created in step 1 .. ) . 4. Go to https://sandbox.veris.in/portal/assets/ and create a badge with

Badge name -> "><img src=x onerror=alert(1)> Badge description -> "><img src=x onerror=alert(1)> Select organization

  • Add a new key :

Key display name -> "><img src=x onerror=alert(1)> Editable by : User and organization Key type : Name Input type : Text only Submit. 5. Go to members ( https://sandbox.veris.in/portal/members/ ) in Action click ,, Assign a new badge '' , select badge

In key input write : "><img src=x onerror=alert(1)>

Submit.

Alert was executed , stored xss.

The xss appear cause when member name get a xss payload name.

Thank you

Attachments

Capture.PNG
Capture.PNG From the original on HackerOne

The original report as published on HackerOne, by bogdantc. 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 application did not sanitise or encode user-supplied input in the member name and badge fields before storing and rendering it.

What the attacker needed

Access to the sandbox portal; ability to create groups and badges

How it was found

  1. Create a group.
  2. Add a member with a script payload as the name.
  3. Add that member to the group.
  4. Create a badge with a script payload in the name, description, and key display name.
  5. Assign the badge to the member and enter a script payload in the key input.
  6. Submit and observe the alert executing.

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.

Stored XSS happens when a site saves harmful input and later shows it without cleaning. Here the member name and badge fields were saved and displayed without proper filtering, so a script ran.

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 bogdantc

View all

9 more disclosed reports, best first.

More from Veris

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.