Skip to content
XSS Disclosed report Beginner

Reflected HTML Injection via contact (faq) search parameter on ███]=

The search parameter on the contact/FAQ page reflected user input without encoding, so an attacker could inject HTML into the page. The report demonstrates injecting an anchor tag, which could let an attacker run script in a victim's browser.

the-white-evil Follow

Originally disclosed on HackerOne

Medium 5.0 View original
  • Triaged in 6 days
  • Fixed in 39 days
  • Disclosed after 5 months

Summary by the program

A reflected HTML injection vulnerability is identified in the search parameter of the contact (FAQ) page on ███████. This vulnerability allows for the injection and execution of arbitrary HTML and script code in the context of other users' web browsers. The issue is demonstrated through the successful injection of an HTML anchor tag, which is subsequently reflected in the page's response.

The original report as published on HackerOne, by the-white-evil. 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 search parameter value is written into the HTML response without output encoding or sanitisation.

Impact

An attacker could execute arbitrary HTML and script code in other users' browsers, though the report only demonstrates an injected anchor tag.

What the attacker needed

Victim opens a crafted search link

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 puts whatever you typed into a search box straight back onto the page without cleaning it, you can type HTML instead of normal text. HTML is the code that builds web pages, and it can include scripts that run in the browser. That means an attacker could make a link that, when opened, runs their code as if it came from the site.

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 the-white-evil

View all

4 more disclosed reports, best first.

More from Mars

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.