CVE-2026-5428 Royal Addons for Elementor <= 1.7.1056 - Authenticated (Author+) Stored Cross-Site Scripting via Image Caption Field
Authenticated attackers can inject arbitrary scripts via image captions in Royal Addons for Elementor, leading to stored XSS execution.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-5428?
CVE-2026-5428 is a medium-severity cross-site scripting vulnerability in wproyal Royal Addons for Elementor – Addons and Templates Kit for Elementor, published on 24 Apr 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
The Royal Elementor Addons plugin for WordPress is vulnerable to Stored Cross-Site Scripting via image captions in the Image Grid/Slider/Carousel widget in versions up to and including 1.7.1056. This is due to insufficient output escaping in the render_post_thumbnail() function, where wp_kses_post() is used instead of esc_attr() for the alt attribute context. This makes it possible for authenticated attackers, with Author-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses a page with the malicious image displayed in the media grid widget.
Weakness: CWE-79
Which versions are affected by CVE-2026-5428?
How do I fix CVE-2026-5428?
No fix has been published for CVE-2026-5428 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-5428 being exploited?
There is no known exploitation of CVE-2026-5428 in the wild and no public exploit code.
Sources
Also known as GHSA-f4r3-xfjm-5x8p.