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.
Problem types
CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Product status
Any version
Timeline
| 2026-04-02: | Vendor Notified |
| 2026-04-23: | Disclosed |
Credits
Dmitrii Ignatyev
References
www.wordfence.com/...-aa49-4a70-89c9-1b95a30b1142?source=cve
plugins.trac.wordpress.org/...rid/widgets/wpr-media-grid.php
plugins.trac.wordpress.org/...rid/widgets/wpr-media-grid.php
plugins.trac.wordpress.org/...rid/widgets/wpr-media-grid.php
plugins.trac.wordpress.org/...rid/widgets/wpr-media-grid.php
plugins.trac.wordpress.org/...r-addons&sfp_email=&sfph_mail=