Skip to content
XSS Disclosed report Beginner

HTML Injection on airlink.ubnt.com

The simulation name field on airlink.ubnt.com did not sanitise user input, allowing HTML to be injected. An attacker could save a simulation with a crafted name and have HTML execute when the simulation is opened.

ruisilva Follow

Originally disclosed on HackerOne

  • Triaged in 17 hours
  • Fixed in 16 days
  • Paid in 16 days
  • Disclosed after 46 days

Hi I found an html injection vulnerability on airlink.ubnt.com

Steps to reproduce:

First go to: https://airlink.ubnt.com/#/ptp Next go on Save Simulation button and as simulation name put: "><marquee><h1>HTMLINJECTIONHERE</h1></marquee> and save it Now go on Open Simulation button and you will see html being executed :)

Your team should fix it Thanks

Attachments

POC.png
POC.png From the original on HackerOne

The original report as published on HackerOne, by ruisilva. 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 inserted the simulation name into the page without encoding HTML special characters.

What the attacker needed

Access to airlink.ubnt.com; ability to save a simulation

The fix

The application should encode or sanitise the simulation name before rendering it in the page.

How it was found

  1. Go to the airlink.ubnt.com page for point-to-point simulations.
  2. Click the Save Simulation button.
  3. Enter a simulation name containing HTML markup.
  4. Save the simulation.
  5. Click the Open Simulation button to view the saved simulation.

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.

HTML injection is when a website displays user input as if it were part of the page's code. Here, the simulation name was not cleaned, so special characters could break out and add new HTML elements. This can be used to change how the page looks or behaves for anyone who opens that simulation.

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 ruisilva

View all

7 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.