I found a text injection
The report claims a text injection on a public air quality website where a URL parameter is reflected into the page. An attacker could use this to display a custom message that might trick users into believing it is legitimate.
Originally disclosed on Bugcrowd
- Disclosed after 22 months
Summary by Orange_hacker
I found a text injection
Steps to reproduce: 1.open the browser 2.Open the website 3.Edit the url as shown https://www.airnow.gov/?city= &state=IL&country=USA 4.After = enter the below in url 5.<h1 >chicago</ h1>
Impact: An attacker can use text injection vulnerability to present a customized message on the application that can phish users into believing that the message is legitimate. The intent is typical to tick victims, although sometimes the actual purpose may be to simply misrepresent the organization or an individual.
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 reflects a URL parameter into the page without sanitising or encoding it.
Impact
An attacker could present a customised message on the application that may phish users into believing the message is legitimate.
What the attacker needed
Victim clicks a crafted link
How it was found
- Open the browser.
- Open the website.
- Edit the URL to include the city and state parameters.
- Enter the heading text after the equals sign in the URL.
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 text injection happens when a website takes something you type in the address bar and puts it directly onto the page without cleaning it first. Here, the reporter says they could make the page show a heading they chose. That could let someone display a fake message to trick visitors.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.