Error Page Text Injection (no compromise)
The 404 error page reflected user-supplied text from the URL path, allowing an attacker to inject arbitrary content into the page. The program states that Google's standard 404 page sanitises inputs, so no compromise was possible.
Originally disclosed on HackerOne
- Disclosed after 51 days
Summary by the program
The text injection is reflected back using Google's standard 404 page. That sanitizes inputs, such that no compromise Is possible.
The report
Hi team!
I want to report a context spoofing or text injection at http://hack.whocoronavirus.org/ 404 page
Vulnerability Description : The http://hack.whocoronavirus.org/ scope allows users to inject any content on the 404 not found webpage
Vulnerable Location :
http://hack.whocoronavirus.org/TextInjection
Fix 404 error page to a new page which do not allow text content injection
Please let me know if more info needed,
Reference Report : https://hackerone.com/reports/181594
Best Regards, @jaimaakali
Impact
Text injection
Attachments

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 404 page echoed the requested path into the response without proper output encoding, though the program states the standard page sanitises it.
Impact
An attacker could make the 404 page display arbitrary text, but the program states the standard page sanitises inputs so no compromise was possible.
What the attacker needed
None
The fix
The 404 error page should be changed to one that does not allow text content injection.
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 404 page is shown when a web address does not exist. Here, part of the address was copied into the page text, so someone could make the page say things it should not. The program says the page cleans the input, so nothing harmful could actually happen.
What is Misconfiguration?
Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.