CVE-2026-33741 EspoCRM: Stored XSS via SVG attachment loading same-origin JavaScript

Medium 6.8 Published Updated

Authenticated attackers can execute arbitrary JavaScript in victims' browsers by uploading malicious SVG and JS attachments, potentially leading to account takeover.

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-2026-33741?

CVE-2026-33741 is a medium-severity cross-site scripting vulnerability in espocrm, published on 19 May 2026. 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 is an open source customer relationship management application. Versions 9.3.3 and below allow authenticated users to upload SVG attachments through normal attachment-capable fields and later serve those SVG files as top-level inline documents through both the attachment and image entry points, resulting in stored cross-user XSS reachable through a normal attachment workflow. Although inline SVG script is blocked by the response CSP, the same CSP still allows same-origin external script. As a result, an attacker can upload a malicious SVG together with a second attacker-controlled JavaScript attachment, then trick another user into opening the SVG to execute JavaScript in the victim's EspoCRM origin. This issue has been fixed in version 9.3.4.

Weakness: CWE-79

Which versions are affected by CVE-2026-33741?

How do I fix CVE-2026-33741?

No fix has been published for CVE-2026-33741 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-2026-33741 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-33741 exists.

Sources

Also known as GHSA-5wh5-ccv2-m3pv.

Is CVE-2026-33741 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free