Severity by source
AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Primary rating from Vendor (Wordfence) · only source for this CVE.
CVSS VectorVendor: Wordfence
Lifecycle Timeline
4DescriptionCVE.org
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.
AnalysisAI
Stored cross-site scripting in Royal Elementor Addons plugin for WordPress up to version 1.7.1056 allows authenticated attackers with Author-level access to inject arbitrary JavaScript via image alt attributes in the Image Grid/Slider/Carousel widget. The vulnerability results from insufficient output escaping in the render_post_thumbnail() function, where wp_kses_post() is used instead of esc_attr() for HTML attribute context. Malicious scripts execute in the browsers of any user viewing pages containing the compromised image widget, potentially enabling session hijacking, credential theft, or plugin/theme manipulation.
Technical ContextAI
The vulnerability stems from improper output escaping in WordPress plugin development. The render_post_thumbnail() function in the Royal Elementor Addons media grid widget incorrectly uses wp_kses_post() to sanitize the alt attribute of HTML img elements. The wp_kses_post() function is designed to allow safe HTML tags and attributes in post content contexts, but it does not properly escape data meant for use in HTML attribute contexts (where different escaping rules apply). The correct function, esc_attr(), escapes attribute values to prevent HTML entity injection and script execution. This is a classic CWE-79 (Improper Neutralization of Input During Web Page Generation) vulnerability where user-controlled input reaches the DOM without proper context-aware escaping. The affected CPE indicates all versions up to and including 1.7.1056 of the 'Royal Addons for Elementor' plugin (WordPress plugin identifier: royal-elementor-addons) are vulnerable.
RemediationAI
Update Royal Elementor Addons to the latest patched version, available through the WordPress plugin repository at https://plugins.wordpress.org/royal-elementor-addons/. The vendor has released a fix in versions after 1.7.1056; administrators should update to the latest available version immediately via the WordPress admin dashboard (Plugins > Updates). As a temporary compensating control pending patching, restrict Author-level and above roles to trusted users only and regularly audit user role assignments. If the media grid widgets are not actively used, disable the Image Grid, Image Slider, and Image Carousel widgets in the Elementor settings. Additionally, implement WordPress security measures such as enabling two-factor authentication for user accounts with Author or higher roles to reduce the risk of account compromise. Website administrators should scan existing pages for suspicious alt text in media grid widgets and remove any injected content from the media library if compromise is suspected. Apply a Web Application Firewall (WAF) rule to detect and block requests containing script payloads in image alt attributes as a network-level safeguard.
Server-Side Request Forgery in Royal Elementor Addons for WordPress (versions ≤1.7.1064) allows authenticated Contributo
Stored Cross-Site Scripting in Royal Elementor Addons WordPress plugin allows unauthenticated remote attackers to inject
Server-Side Request Forgery (SSRF) in Royal Elementor Addons plugin for WordPress allows authenticated attackers with Co
Arbitrary file read in Royal Addons for Elementor versions 1.7.1058-1.7.1059 allows authenticated attackers with Contrib
Stored Cross-Site Scripting in Royal Addons for Elementor's Instagram Feed widget allows authenticated contributors and
Stored Cross-Site Scripting in Royal Addons for Elementor plugin versions up to 1.7.1056 allows authenticated attackers
Stored Cross-Site Scripting (XSS) in Royal Addons for Elementor plugin allows authenticated contributors and above to in
Unauthenticated attackers can extract sensitive data from non-public custom post types in Royal Addons for Elementor Wor
Unauthenticated attackers can modify form action metadata on WordPress posts through the Royal Addons for Elementor plug
Unauthenticated sensitive information exposure in the Royal Addons for Elementor WordPress plugin (all versions ≤1.7.106
Same weakness CWE-79 – Cross-site Scripting (XSS)
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-25400
GHSA-f4r3-xfjm-5x8p