Severity by source
AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:N
AC:H for non-default deployment conditions; PR:H for required editor role; UI:R because a victim must browse the injected page for payload execution.
Primary rating from Vendor (Wordfence).
CVSS VectorVendor: Wordfence
Lifecycle Timeline
2DescriptionCVE.org
The Gravity Booster - Styles & Layouts for Gravity Forms plugin for WordPress is vulnerable to Stored Cross-Site Scripting via admin settings in all versions up to, and including, 5.26 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with editor-level permissions and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. This only affects multi-site installations and installations where unfiltered_html has been disabled.
AnalysisAI
Stored Cross-Site Scripting in the Gravity Booster - Styles & Layouts for Gravity Forms WordPress plugin (versions ≤ 5.26) allows authenticated attackers with editor-level permissions to inject persistent malicious scripts into admin settings fields. The injected payload executes in the browser of any user who subsequently visits an affected page, enabling session hijacking, credential theft, or further privilege escalation within the WordPress environment. Exploitation is constrained to multi-site WordPress installations or single-site deployments where the unfiltered_html capability has been explicitly disabled; no public exploit or CISA KEV listing has been identified at time of analysis.
Technical ContextAI
The vulnerability arises from CWE-79 (Improper Neutralization of Input During Web Page Generation), specifically the stored variant where attacker-controlled input is saved to the database and later rendered without adequate escaping. The affected plugin, identified via CPE cpe:2.3:a:wpmonks:gravity_booster_-_styles_&_layouts_for_gravity_forms:*:*:*:*:*:*:*:*, extends Gravity Forms with custom style and layout management. Source references point to three discrete sink locations in the plugin codebase: class-styles.php at lines 76, 147, and 148, and stla-admin-fetch-content-area.php at line 290 - all within admin-facing display and content-area fetch logic where user-supplied style configuration values are echoed back without sanitization or contextual output escaping. The WordPress unfiltered_html capability, when enabled for administrators, normally permits arbitrary HTML; the vulnerability only materializes when this capability is absent (e.g., enforced by multi-site super-admin policy or a security hardening plugin), meaning the plugin incorrectly relies on a capability gate rather than implementing its own output escaping.
RemediationAI
A fix is available via WordPress plugin repository changeset 3637650 (https://plugins.trac.wordpress.org/changeset?reponame=&old=3637650%40styles-and-layouts-for-gravity-forms&new=3637650%40styles-and-layouts-for-gravity-forms); administrators should update to the latest available version above 5.26 through the WordPress plugin dashboard or by downloading the updated package from the WordPress.org plugin repository. A confirmed patched release version number was not independently verifiable from the provided data - verify the installed version post-update exceeds 5.26. If an immediate update is not possible, the primary compensating control is restricting the WordPress editor role: either remove untrusted editor-level accounts, or grant the unfiltered_html capability to editors via a capability management plugin, which eliminates the exploitable condition (note this trade-off relaxes HTML filtering and may introduce other risks). Additionally, a Web Application Firewall rule targeting stored XSS patterns in plugin admin endpoints can reduce risk without altering WordPress role configuration.
More in Wordpress Plugin
View allThe 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 Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner
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
SQL injection in the NotificationX WordPress plugin (versions up to and including 2.8.2) allows unauthenticated remote a
The POST SMTP Mailer - Email log, Delivery Failure Notifications and Best Mail SMTP for WordPress plugin for WordPress i
The MasterStudy LMS WordPress Plugin - for Online Courses and Education plugin for WordPress is vulnerable to union base
The Email Subscribers by Icegram Express plugin for WordPress is vulnerable to SQL Injection via the ‘hash’ parameter in
Remote code execution in the WP Query Console WordPress plugin (versions up to and including 1.0) by Ajit Bohra allows u
Same weakness CWE-79 – Cross-site Scripting (XSS)
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-59856
GHSA-5w9q-5r59-3g9f