XSS in Bdthemes Element Pack – Widgets, Templates & Addons For Elementor

CVE-2026-4655

The Element Pack Addons for Elementor plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the SVG Image Widget in versions up to and including 8.4.2. This is due to insufficient input sanitization and output escaping on SVG content fetched from remote URLs in the render_svg() function. The function fetches SVG content using wp_safe_remote_get() and then directly echoes it to the page without any sanitization, only applying a preg_replace() to add attributes to the SVG tag which does not remove malicious event handlers. This makes it possible for authenticated attackers, with Contributor-level access and above, to inject arbitrary JavaScript in SVG files that will execute whenever a user accesses a page containing the malicious widget.

Vulnerability class: XSS (Cross-Site Scripting)

EPSS: 0.004 (32.5th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 6.4 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-4655?
CVE-2026-4655 is a medium-severity vulnerability in Bdthemes Element Pack – Widgets, Templates & Addons For Elementor, classified under Cross-site Scripting. CVSS score: 6.4/10. Published 2026-04-08.
How severe is CVE-2026-4655?
Medium severity. CVSS v3 base score is 6.4 out of 10.