Report Regarding Security Vulnerability
The 404 error page reflected text from the requested URL path, allowing an attacker to inject arbitrary text and a link into the page. An attacker could craft a URL that displays misleading content, such as a link to a malicious site, to users who visit it.
- Disclosed after 6.2 years
Hello Team,
i want to report a text injection and a misconfiguration of the 404 page
the bug exists at :
as you can see attacker text is included "It has been changed by a new one https://www.attacker.com so go to the new one since this one was not found on this server."
(Screenshot Attached)
Fix : just use a 404 page that don't include attacker text just as :a 404 page that don't include any external text hope you fix it
thanks
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 reflects the requested URL path without sanitising or encoding it.
Impact
An attacker could display misleading text and a link to a malicious site on the legitimate website's 404 page, potentially tricking users.
What the attacker needed
Victim clicks a crafted link
The fix
The 404 page should be changed to not include any text from the requested 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.
When you visit a web address that doesn't exist, the server usually shows a '404 not found' page. Here, the server copied part of the web address you typed into that page without cleaning it. So an attacker could make a link that shows their own message and a link to their site on the real website's page.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.