WordPress Plugin Vulnerabilities

Element Pack Addons for Elementor < 8.5.0 - Authenticated (Contributor+) Stored Cross-Site Scripting via SVG Image Widget

Description

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.

Affects Plugins

References

Classification

Type
XSS
CWE

Miscellaneous

Original Researcher
Webbernaut
Verified
No

Timeline

Publicly Published
2026-04-07 (about 2 months ago)
Added
2026-04-07 (about 2 months ago)
Last Updated
2026-04-08 (about 2 months ago)

Other