Skip to content
XSS Disclosed report Beginner

Html injection in event Description

An event's Description field accepted raw HTML, and that markup was rendered when a public user searched for the published event. An attacker could inject HTML such as a link to a malicious site into the search results shown to other users.

khaledx Follow

Originally disclosed on HackerOne

  • Disclosed after 3 months

#Hi team

there is Html injection when user add Description to event when public user search for published event

#Step's

Screenshot_2023-10-19_11_10_59.png
Screenshot_2023-10-19_11_10_59.png From the original on HackerOne
  • save change now navigate to ==Search== enter your event name
  • when ==result== show up html code get executed in the Description
Screenshot_2023-10-19_11_11_25.png
Screenshot_2023-10-19_11_11_25.png From the original on HackerOne

POC:F2785976

Impact

attacker able to run html code

Attachments

The original report as published on HackerOne, by khaledx. 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 event Description was stored and later rendered as raw HTML in search results without encoding or sanitising it.

Impact

An attacker could run HTML in the Description shown to public users searching for the event, for example presenting a link to a malicious site.

What the attacker needed

A logged-in account; ability to create a public event; victim searches for the event

How it was found

  1. Log in to the groups section of the site.
  2. Create an event, mark it Public, and put an HTML link in the Description.
  3. Save the changes and go to Search.
  4. Search for the event name.
  5. The injected HTML runs in the Description of the search result.

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 text people type, like an event description, as plain text and show it literally. Here the site instead treated that text as HTML, the language used to build web pages, so anything typed in became part of the page. That let someone put a clickable link to a harmful site into a description that other people would see in search results.

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 khaledx

View all

2 more disclosed reports, best first.

More from LinkedIn

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.