Skip to content
UI spoofing Disclosed report Beginner

Error Page Content Spoofing or Text Injection

The error page reflected attacker-controlled text from the URL path, allowing an attacker to display a fake message directing users to a malicious site. This could be used for phishing.

myskar Follow

Originally disclosed on HackerOne

  • Disclosed after 3 months

Hello i want to report a text injection which can be used in phishing

the bug exists at :

https://catalog.data.gov//has%20been%20changed%20by%20a%20new%20one%20https://www.attacker.com%20so%20go%20to%20the%20new%20one%20since%20this%20one%2f%2e%2e/

as you can see attacker text is included "It has been changed by a new one so go to the new one since this one was not found on this server."

hope you fix it

Hacker References:

https://hackerone.com/reports/106350 https://hackerone.com/reports/181594

drough

Attachments

image.png
image.png From the original on HackerOne

The original report as published on HackerOne, by myskar. 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 error page reflected the requested path without encoding or validation, allowing text injection.

Impact

An attacker could craft a link that displays a misleading message on the legitimate site, potentially used for phishing.

What the attacker needed

Victim clicks a crafted link

The fix

The error page should not display user-supplied path content as text.

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 shows an error page, it sometimes copies part of the web address into the page. Here, the site copied text from the address without cleaning it, so an attacker could make the error page say something like 'this page moved, go to my site'. That could trick people into visiting a fake site.

What is UI spoofing?

The interface lies to the user: a framed page catches their clicks, or a browser shows the wrong address or a fake prompt. Paid when it leads to a sensitive action or convincing phishing.

More by myskar

View all

2 more disclosed reports, best first.

More from GSA Bounty

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Clickjacking and UI spoofing

The lesson behind this report.

The interface lies to the user: a framed page catches their clicks, or a browser shows the wrong address or a fake prompt. Paid when it leads to a sensitive action or convincing phishing.