Skip to content
XSS Disclosed report Beginner

HTML/Javascript possible in "Discussion" section of reviews

The discussion section of a review accepted HTML and JavaScript without filtering, so a user could enter a message containing markup or script. When another user opened the link shown there, the HTML was not filtered and the JavaScript could execute.

jackds Follow

Originally disclosed on HackerOne

  • Fixed in 6 hours
  • Disclosed after 40 hours

It's possible to enter HTML code and/or execute javascript code in the "Discussion" section for review.

To reproduce:

  • Enter a new phrase in a project.
  • Login as a different user and provide a new translation for the phrase.
  • Switch back to the user that created the project and check the review phrase.
  • In the discussion section, enter a new message containing HTML/Javascript.
  • Open the link the is shown there and observe that HTML is not filtered and that javascript can be executed.

The original report as published on HackerOne, by jackds. 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 discussion message was rendered as HTML without sanitising or escaping user input.

Impact

An attacker could run JavaScript in another user's browser when that user opened the discussion link.

What the attacker needed

A user account; ability to create or translate a phrase; victim opens the discussion link

How it was found

  1. Enter a new phrase in a project.
  2. Log in as a different user and provide a new translation for the phrase.
  3. Switch back to the user that created the project and check the review phrase.
  4. In the discussion section, enter a new message containing HTML/Javascript.
  5. Open the link shown there and observe that HTML is not filtered and JavaScript executes.

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.

A website should treat anything a user types as plain text, not as code. Here, a message box in a review discussion let someone type HTML (the language used to build web pages) and JavaScript (code that runs in the browser). When another person viewed that message, their browser ran the code, which is called cross-site scripting.

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 jackds

View all

6 more disclosed reports, best first.

More from Localize

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.