CVE-2026-19217 in Royal Addons for Elementor Plugininfo

Summary

by MITRE • 08/12/2026

The Royal Addons for Elementor WordPress plugin before 1.7.1065 does not validate a widget setting used to build an HTML tag before outputting it, which could allow users with the Contributor role and above to perform Stored Cross-Site Scripting attacks.

Be aware that VulDB is the high quality source for vulnerability data.

Analysis

by VulDB Data Team • 08/12/2026

The vulnerability exists within the Royal Addons for Elementor WordPress plugin affecting versions prior to 1.7.1065, where insufficient input validation occurs in the widget setting processing mechanism. This flaw enables malicious actors with Contributor level privileges or higher to inject persistent cross-site scripting payloads that execute within the context of other users' browsers when viewing affected pages. The issue stems from improper sanitization of HTML tag construction parameters before rendering them on web pages, creating an avenue for attackers to establish persistent malicious code execution vectors.

The technical implementation flaw resides in how the plugin handles user-provided data within widget configurations, specifically in the HTML tag generation process where input values are directly incorporated into output without adequate filtering or escaping mechanisms. This represents a classic stored cross-site scripting vulnerability that aligns with CWE-079 - Improper Neutralization of Input During Web Page Generation. The vulnerability affects the plugin's ability to properly validate and sanitize user inputs before these inputs are rendered as part of HTML content, allowing attackers to inject malicious scripts that persist in the database and execute whenever affected pages are accessed.

The operational impact of this vulnerability extends beyond typical XSS scenarios due to the privilege escalation aspect that allows Contributors and above to exploit it. This means that users with relatively low privileges can potentially compromise other users' sessions and data, making the attack surface broader than standard XSS vulnerabilities. The stored nature of the payload means that once injected, malicious code executes automatically for all visitors without requiring additional user interaction, creating a persistent threat vector. Attackers could leverage this to steal session cookies, perform unauthorized actions on behalf of users, or redirect victims to malicious sites.

Mitigation strategies should focus on implementing comprehensive input validation and output escaping mechanisms within the plugin's widget processing functions. The recommended approach involves sanitizing all user-provided HTML tag parameters using WordPress's built-in escaping functions such as esc_attr() and esc_html() before rendering them in the final output. Additionally, implementing Content Security Policy headers can provide an additional layer of protection against script execution. The vulnerability aligns with ATT&CK technique T1566.002 - Phishing: Spearphishing Attachment, where attackers could use this vector to establish initial access or maintain persistence through injected scripts that capture user credentials or execute malicious payloads.

The patch for version 1.7.1065 likely includes enhanced input validation routines specifically targeting widget setting parameters and implements proper HTML escaping mechanisms during tag construction processes. Security best practices should include regular plugin updates, implementing role-based access controls, and monitoring for unusual activity in contributor accounts. Organizations should also consider deploying web application firewalls that can detect and block known XSS patterns in real-time while maintaining comprehensive logging of user activities within WordPress environments to quickly identify potential exploitation attempts.

Responsible

WPScan

Reservation

08/07/2026

Disclosure

08/12/2026

Moderation

accepted

CPE

ready

EPSS

0.00000

KEV

no

Activities

very low

Sources

Interested in the pricing of exploits?

See the underground prices here!