CVE-2026-123175 in Page Builder Plugininfo

Summary

by MITRE • 11/26/2026

The plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'custom_text (shortcode attribute of [vc_cta])' parameter in all versions up to, and including, 9.1 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. The style="classic" shortcode attribute must be used to trigger the vulnerable code path that feeds custom_text through vc_get_css_color into the inline style attribute; wp_kses_post applied at save time does not neutralize the payload because the attacker's value contains no HTML tags, only a double quote inside a shortcode attribute, leaving the injected content intact in post_content.

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

Analysis

by VulDB Data Team • 11/26/2026

The vulnerability identified within WordPress plugins, specifically affecting versions up to and including 9.1 of the VC CTA component, represents a significant security risk classified as Stored Cross-Site Scripting or XSS. This flaw arises from insufficient input sanitization and output escaping mechanisms when processing the custom_text shortcode attribute. The technical root cause lies in how the plugin handles specific style configurations; notably, the vulnerability is triggered only when the style attribute is set to classic. In this configuration, the user-supplied data for custom_text is passed through a function called vc_get_css_color before being embedded directly into an inline CSS style attribute within the HTML output. This processing path fails to adequately validate or escape special characters that could break out of the intended context, allowing malicious scripts to be injected and stored on the server side rather than merely reflected in a single request.

The operational impact of this vulnerability is severe because it allows authenticated attackers with contributor-level access and above to persistently inject arbitrary web scripts into pages hosted by the target WordPress installation. Unlike reflected XSS which requires tricking users into clicking malicious links, stored XSS ensures that the payload remains on the server until accessed. Consequently, every user who views a page containing the injected shortcode will have their browser execute the attacker's script in the context of the vulnerable site. This can lead to session hijacking, where attackers steal authentication cookies and take over user accounts; defacement of website content by altering displayed text or images; redirection of users to malicious phishing sites designed to harvest credentials; or installation of malware on visitor devices through drive-by download techniques facilitated by the script execution environment.

From a technical perspective, the persistence mechanism is particularly insidious because standard WordPress security functions fail to neutralize the payload during the save process. The wp_kses_post function, which is typically applied at post-save time to strip dangerous HTML tags and attributes, does not detect this specific attack vector. This failure occurs because the attacker's value contains no explicit HTML tags; instead, it relies on a double quote character inserted within the shortcode attribute context. Since wp_kses_post primarily targets tag-based injection methods, it leaves the injected content intact in the post_content database field. When the page is rendered later, the unescaped data flows through the vulnerable code path into the inline style attribute, where the browser interprets the malicious script as valid CSS or JavaScript depending on how the parser handles the malformed syntax, ultimately leading to execution.

This vulnerability aligns with Common Weakness Enumeration (CWE) identifiers such as CWE-79 for Improper Neutralization of Input During Web Page Generation and CWE-835 for Loop Involved in Infinite Attack. It also maps directly to MITRE ATT&CK techniques including T1059 Command and Scripting Interpreter, specifically the JavaScript subtechnique used for client-side execution, and T1189 Drive-by Compromise if the script facilitates malware delivery. The attack vector is categorized under CWE-269 Improper Privilege Control because it requires authentication but leverages a relatively low-level contributor role to achieve high-impact consequences due to inadequate validation of user-supplied data in administrative or content-editing contexts.

Mitigation strategies must focus on both immediate remediation and long-term defensive coding practices. The most effective solution is for plugin developers to update the affected software to a version that properly sanitizes input at entry points and escapes output before rendering, ensuring that special characters like double quotes are encoded appropriately within CSS context attributes. Administrators should immediately apply any available patches provided by the vendor. In environments where patching is not yet possible, administrators can implement Web Application Firewall rules to detect and block requests containing suspicious patterns in shortcode parameters, such as unescaped quotes followed by script tags or event handlers like onerror or onload. Additionally, enforcing strict Content Security Policy headers can help mitigate the impact of any successful injection by restricting the sources from which scripts are allowed to execute, thereby reducing the effectiveness of client-side attacks even if they bypass other defenses. Regular security audits and code reviews focusing on input validation and output encoding for all user-controllable data streams are essential to prevent similar vulnerabilities in future development cycles.

Responsible

Wordfence

Reservation

11/05/2026

Disclosure

11/26/2026

Moderation

accepted

CPE

ready

EPSS

0.00274

KEV

no

Activities

very low

Sources

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!