Skip to content
XSS Disclosed report Beginner

Stored XSS in community.ubnt.com

An attacker could upload an SVG file containing a script to the community forum, and the resulting image link would execute the script in any user's browser when visited. This allowed stored cross-site scripting that worked even without login.

vibs123i Follow

Originally disclosed on HackerOne

  • Triaged in 9 days
  • Fixed in 5 months
  • Paid in 53 days
  • Disclosed after 6 months

I have created two accounts one attacker account: vibhuti123_i other victim account: John_victim

attacker account:vibhuti123_i who will create a malicious link after uploading svg file embeded with script and doing stored xss.Now attacker vibhuti123_i will send this stored xss malicious link to victim:john_victim by posts,message,reply of ubnt community features or anyother way of communication.After this John_victim will believe this link as it is saved on community.ubnt.com server.It's no way look dangerous so john_victim will click this link and xss gets executed.

This stored xss link created by attacker will execute in every account and also it is accessible without login. http://community.ubnt.com/t5/image/serverpage/image-id/0iA7662344C5BC7B7E/image-size/thumb/is-preview/true?v=v2&px=100

Please go through Video POC:-- https://youtu.be/Z0UCmv-Tpqs

PLease read the Document of OWASP.org about svg xss below:

https://www.owasp.org/images/0/03/Mario_Heiderich_OWASP_Sweden_The_image_that_called_me.pdf

The original report as published on HackerOne, by vibs123i. 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 allowed SVG uploads and served them with a content type that caused the browser to execute embedded scripts.

Impact

The stored XSS link executes in every account and is accessible without login, allowing an attacker to run scripts in victims' browsers.

What the attacker needed

Attacker account; victim clicks a link

How it was found

  1. Create an attacker account and a victim account.
  2. Upload an SVG file containing a script to the community forum.
  3. Obtain the link to the uploaded SVG image.
  4. Send the link to the victim via posts, messages, or replies.
  5. The victim clicks the link, and the script executes in their browser.

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.

The forum let people upload SVG images, which can contain code. The site served these images so the browser ran that code, letting an attacker trick someone into clicking a link.

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 vibs123i

View all

2 more disclosed reports, best first.

More from Ubiquiti Inc.

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.