Test email templates for injection
Test email templates for injection by trying to insert HTML tags, such as <a href> or <img>, into user-controlled values like names, companies, or custom messages. If the input is not properly validated or encoded, an attacker can manipulate the email content. Look for endpoints that accept user input, such as PUT /organizations/{id} or GET /admin/saveUser.php, and check if the input is reflected in email templates. Confirm the vulnerability by checking if the injected HTML is rendered as clickable text in the received email. Audit all outbound email templates, not just the one you found, as multiple templates may be vulnerable.
Follow #email-injection or #html-injection for new tips like this one, on your notifications page and, if you choose, in a daily or weekly email.
Comments
No comments yet.