Stored XSS in Email Notifcation
An email notification's subject line was rendered as HTML rather than text, so a crafted subject containing an image tag with an error handler ran script in the browser of anyone who viewed the notification. An attacker in a shared group could therefore run code in other members' sessions and read their cookies.
- Triaged in 18 days
- Fixed in 2.6 years
- Paid in 9 months
- Disclosed after 3.3 years
##Summary: Hi team user input most be Decoded this is wired Stored XSS as the XSS been fired in https://crm.na1.insightly.com/list/Email/ when ever user open the ==Notifcation == message been send or even refresh his mail service as the site https://crm.na1.insightly.com/list/Email/ ==Notifcation== execute the ==Subject Emaill name Code== as Code and when ever any user in the Group login and try to see the ==Notifcation== XSS fired
##Steps To Reproduce: 1-Create Two account and invite user to join to your Group 2-add email service to enable send email in the platform 3-as ==any user in the Group= able to see sended message ==Create email== and enter this payload as Subject name
4-as The Emaill ==Subject name been executed== when ever user login and try to see the missing ==Notifcation== The XSS been Fired
Video POC: ███████
Impact
as any user in the Group able to see the ==Notifcation== attacker able to still users Cookie
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 notification view inserted the email subject into the page without encoding it, so markup in the subject was interpreted by the browser.
Impact
Any group member who viewed the notification could have their session cookie read by the attacker, though the report does not show what the attacker did with it.
What the attacker needed
Two accounts in the same group; email service enabled; victim opens the notification
How it was found
- Create two accounts and invite the second user into your group.
- Enable the email service so the platform can send email.
- As any group user, create an email and put the crafted markup in the subject field.
- Log in as another group user and open the notification to see the script run.
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 a website shows text that a user typed, it must treat that text as plain text, not as instructions for the browser. Here the email subject was inserted into the page as if it were part of the page's code, so a subject that looks like an image tag gets run by the browser. That lets one group member run their own script inside another member's logged-in session, which is called stored cross-site scripting because the bad value is saved and shown to others later.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.