CVE-2021-40377 Cross-site scripting in n/a
Attackers can inject malicious scripts into email content, leading to stored XSS and potential account takeover in SmarterMail.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2021-40377?
CVE-2021-40377 is a medium-severity cross-site scripting vulnerability in n/a, published on 8 Sep 2021. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
SmarterTools SmarterMail 16.x before build 7866 has stored XSS. The application fails to sanitize email content, thus allowing one to inject HTML and/or JavaScript into a page that will then be processed and stored by the application.
Weakness: CWE-79
Which versions are affected by CVE-2021-40377?
It affects 1 product.
Products include Smartertools Smartermail.
How do I fix CVE-2021-40377?
No fix has been published for CVE-2021-40377 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2021-40377 being exploited?
There is no known exploitation of CVE-2021-40377 in the wild and no public exploit code.
Other vulnerabilities in n/a
- CVE-2025-52691 SmarterTools SmarterMail Unrestricted Upload of File with Dangerous Type
- CVE-2026-24423 SmarterTools SmarterMail Missing Authentication for Critical Function
- CVE-2026-23760 SmarterTools SmarterMail Authentication Bypass Using an Alternate Path or Channel
- CVE-2021-32234 Code injection in n/a
- CVE-2019-7214 Deserialization in n/a
Sources
Also known as GHSA-wrqj-gjcp-v24r.