Skip to content
XSS Disclosed report Beginner

Code injection

The Roadmap page did not sanitise user input when submitting a new Idea, allowing a user to inject code that would execute in their own browser. Only the submitting user could be affected, but combined with social engineering it could form part of a more serious attack.

armaanpathan Follow

Originally disclosed on HackerOne

  • Triaged in 9 hours
  • Fixed in 5 days
  • Paid in 5 days
  • Disclosed after 6 days

Summary by the program

A security researcher discovered that they were able to inject potentially malicious code into Legal Robot's newly created Roadmap page through improper input sanitization when submitting a new Idea for consideration by the community. A limited-scope attack was possible since the input sanitization only occurred during the approval process. Only the current user could be impacted by this attack, but with the addition of social engineering or some unknown exploit, this bug could have been a component of a more serious attack. Thanks to @i1ackerone_ for an excellent report!

The original report as published on HackerOne, by armaanpathan. 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 sanitised Idea input only during the approval step, leaving the initial submission unsanitised.

Impact

Only the current user could be impacted, though with social engineering or an unknown exploit it could have been a component of a more serious attack.

What the attacker needed

A user account; submitting a new Idea on the Roadmap page

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.

When a website accepts text from a user and later shows it back without cleaning it, an attacker can slip in code that the browser runs. Here the cleaning only happened during approval, so the person submitting the idea could run code in their own session. On its own that is limited, but tricking someone else into submitting a crafted idea could make it worse.

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 armaanpathan

View all

1 more disclosed report, best first.

More from Legal Robot

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.