Skip to content
XSS Disclosed report Beginner

HTML Injection in meeting owner email

A user could set their first and last name to contain HTML tags, and when that user's calendar was disconnected, the notification email sent to the meeting owner included the unsanitised HTML in the name fields. An attacker could inject HTML into the email, potentially spoofing content or misleading the recipient.

x_bugcrowd Follow

Originally disclosed on Bugcrowd

  • Accepted in 3 days
  • Fixed in 33 days
  • Disclosed after 3 months

Summary by HubSpot

It was possible for a user to change their name to include HTML. When that user's calendar was disconnected, the notification email included the HTML in the user's name fields. The issue is fixed.

Summary by x_bugcrowd

Can we disclose?!

Report details

  • Submitted

    16 Apr 2022 01:40:51 UTC

  • Target Location

    events.hubspot.com

  • Target category

    Other

  • VRT

    Server-Side Injection > Content Spoofing > Email HTML Injection

  • Priority

    P4

  • Bug URL

    https://meetings-eu1.hubspot.com/MEETING

  • Description

    Hello Gents,

    • While testing Hubspot, I found that meeting owner email could be injected with HTML code.

    Steps to reproduce:

    1. Please login at https://app-eu1.hubspot.com.
    2. Navigate to https://app-eu1.hubspot.com/meetings/PORTAL-ID.
    3. Copy the meeting link and share it with the customers.
    4. As an attacker, request a new meeting.
    5. Inject First name and Last name with HTML tags.
    6. Owner will receive this malicious mail.

    Proof of concept:

    • POC video in { Attachments }

The original report as published on Bugcrowd, by HubSpot. Images and videos are our own copies; raw HTML is shown as text. View it on Bugcrowd.

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 application did not sanitise or encode user-supplied name fields before including them in the notification email's HTML body.

Impact

An attacker could inject HTML into the notification email received by the meeting owner, potentially spoofing content or misleading the recipient; the text does not claim script execution or account compromise.

What the attacker needed

A HubSpot account; ability to request a meeting; victim is the meeting owner

The fix

The issue was fixed according to the summary.

How it was found

  1. Log in to the HubSpot application.
  2. Navigate to the meetings section for the portal.
  3. Copy the meeting link and share it with customers.
  4. As an attacker, request a new meeting.
  5. Enter HTML tags in the First name and Last name fields.
  6. The meeting owner receives the malicious 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 report has not been written yet. The Original tab links to the source.

When you sign up for a service, you often provide your name. If the service later puts that name into an email without cleaning it, someone could put special formatting codes (HTML) in their name. Those codes would then appear in the email, possibly changing how it looks or adding fake links.

What is XSS?

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.

More by x_bugcrowd

View all

1 more disclosed report, best first.

More from HubSpot

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Cross-site scripting (XSS)

The lesson behind this report.

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.