A very easy bug anyone can find
A blog subscription form accepted HTML in its name field, and the injected hyperlink was delivered in the notification email sent to the subscriber. An attacker could send a crafted link in an email that appears to come from the target site.
Published on medium.com
FREE LINK : https://medium.com/@InsbatArshad/a-very-easy-bug-anyone-can-find-8d2b11a768c7?sk=fa6aac48223beeefc9a59be86f72d72a
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the name field was inserted into the notification email's HTML without encoding or sanitising it.
Impact
A recipient could be shown a link inside a legitimate-looking email, which could be used for phishing; the report does not show script execution.
What the attacker needed
Access to the public subscription form; a valid email address to receive the message
How it was found
- Open the blog page and find the subscription form with name and email fields.
- Enter an HTML hyperlink payload in the name field and a real email address in the email field.
- Submit the form and open the received email.
- Observe that the hyperlink appears in the email.
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 write-up has not been written yet. The Original tab links to the source.
A subscription form let people type text into a name box. The site put that text into an email without cleaning it, so a link written in the box showed up as a clickable link in the email. This is called HTML injection: the site treats user text as page code instead of plain text.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.