Severity by source
AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
UI:R assigned because a victim must actively visit the injected page to trigger XSS execution; scope change and all other metrics align with the provided vector.
Primary rating from Vendor (wordfence).
CVSS VectorVendor: wordfence
Lifecycle Timeline
2DescriptionCVE.org
The Powerkit - Supercharge your WordPress Site plugin for WordPress is vulnerable to Stored Cross-Site Scripting via 'style' Shortcode Attribute in all versions up to, and including, 3.1.0 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.
AnalysisAI
Stored cross-site scripting in the Powerkit plugin for WordPress (all versions up to and including 3.1.0) allows authenticated attackers holding contributor-level access to inject persistent JavaScript payloads via the 'style' shortcode attribute, which execute silently in any visitor's browser upon viewing an injected page. The root cause is confirmed by Wordfence (security@wordfence.com) and traceable to missing output escaping in the plugin's basic-elements module across at least two code paths and one template file. No CISA KEV listing or public exploit code has been identified at the time of analysis, though the low privilege bar - contributor access - makes this a practical threat on multi-author WordPress deployments.
Technical ContextAI
The vulnerability exists in the Powerkit plugin's basic-elements module, specifically in class-powerkit-basic-elements-public.php (lines 113 and 126) and the separators.php rendering template (line 67), as confirmed by NVD source code references for both the 3.0.9 and 3.1.0 tagged releases in the WordPress plugin Trac repository. The root cause class is CWE-79 (Improper Neutralization of Input During Web Page Generation - Cross-site Scripting): the 'style' attribute accepted by Powerkit shortcodes is passed through to the rendered HTML output without adequate sanitization or escaping. WordPress shortcodes are PHP-processed macros that contributors can embed in posts and pages; when shortcode attributes bypass output escaping before being written into the DOM, an attacker can inject event handlers or script tags that persist in stored page content. The upstream fix is confirmed in changeset 3629599 in the plugin's Trac repository.
RemediationAI
Apply the upstream fix committed in changeset 3629599 to the Powerkit plugin repository (https://plugins.trac.wordpress.org/changeset/3629599/powerkit) by updating to the patched plugin release. The specific patched version number is not independently confirmed from the available data - verify the exact fixed version via the WordPress plugin directory or the Wordfence advisory at https://www.wordfence.com/threat-intel/vulnerabilities/id/ae04e9f2-0260-44bd-9439-cabf9d00fc2c before deploying. If immediate patching is not feasible, restrict contributor-level WordPress role assignments to only fully trusted internal users, as contributor access is the minimum privilege required to exploit this vulnerability; revoking untrusted contributor accounts removes the exploitation path entirely. Wordfence's firewall (free or premium tier) may provide virtual patching for this specific shortcode-attribute XSS vector as a temporary compensating control, but this should not substitute for the plugin update. Note that disabling the Powerkit plugin's basic-elements module (if the plugin supports granular module control) would also eliminate the vulnerable code path at the cost of losing associated shortcode functionality.
The mailSend function in the isMail transport in PHPMailer before 5.2.18 might allow remote attackers to pass extra para
The isMail transport in PHPMailer before 5.2.20 might allow remote attackers to pass extra parameters to the mail comman
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
The Hash Form - Drag & Drop Form Builder plugin for WordPress is vulnerable to arbitrary file uploads due to missing fil
Authentication bypass in the LiteSpeed Cache WordPress plugin (versions prior to 6.5.0.1) allows unauthenticated remote
The GiveWP - Donation Plugin and Fundraising Platform plugin for WordPress is vulnerable to PHP Object Injection in all
The Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner
The AI Engine WordPress plugin through version 3.1.3 exposes Bearer Token values through the /mcp/v1/ REST API endpoint
The SureTriggers WordPress plugin through version 1.0.82 contains a privilege escalation vulnerability that allows unaut
The Ninja Forms plugin before 2.9.42.1 for WordPress allows remote attackers to conduct PHP object injection attacks via
The Business Directory Plugin - Easy Listing Directories for WordPress plugin for WordPress is vulnerable to time-based
Remote code execution in WordPress 6.9.x (before 6.9.5) and 7.0.x (before 7.0.2) arises from a REST API batch endpoint r
Same weakness CWE-79 – Cross-site Scripting (XSS)
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-51793
GHSA-w3qg-9xm7-c436