Exploiting HTML Injection in Email
Values of the comment and presentationTitle parameters were reflected unescaped into notification emails, so an attacker could inject HTML into the email body. This allowed crafting a notification email containing arbitrary markup such as styled text and a link.
Published on footstep.ninja
Sequel to my last post, I’ll be discussing about HTML injection on the same target. HTMLi is a vulnerability that can be exploited in any application that renders HTML code; email happens to be one.
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
Impact
An attacker could make notification emails contain attacker-chosen markup and links, which could be used for phishing or misleading recipients.
What the attacker needed
Ability to post a comment; notification email is sent
How it was found
- Post a comment on a slide so a notification email is generated.
- Set the presentationTitle parameter to a value containing HTML markup.
- Open the resulting notification email and observe the injected markup rendered in the body.
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.
When a website puts text you typed into a page or an email without cleaning it first, your text is treated as code rather than plain words. Here the site copied the presentation title straight into a notification email, so someone could add formatting and links that the email service would display. This is called HTML injection because the injected content is HTML, the language used to build web pages and emails.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.