CVE-2021-3539 EspoCRM Avatar Persistent XSS
Attackers can inject malicious scripts via avatar images in EspoCRM, potentially leading to session hijacking or code execution.
- 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
- Available
What is CVE-2021-3539?
CVE-2021-3539 is a medium-severity cross-site scripting vulnerability in EspoCRM, published on 4 Aug 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
EspoCRM 6.1.6 and prior suffers from a persistent (type II) cross-site scripting (XSS) vulnerability in processing user-supplied avatar images. This issue was fixed in version 6.1.7 of the product.
Weakness: CWE-79
Which versions are affected by CVE-2021-3539?
1 open source package ship an affected version, including espocrm. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
espocrm Bitnami | All versions | 6.1.6 |
Products include Espocrm Espocrm.
How do I fix CVE-2021-3539?
Upgrade espocrm to 6.1.6 or later.
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-3539 being exploited?
There is no known exploitation of CVE-2021-3539 in the wild and no public exploit code.
Other vulnerabilities in EspoCRM
Sources
Also known as BIT-espocrm-2021-3539, GHSA-8v94-m4qx-qvc5.