Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2025-1777 Overview
CVE-2025-1777 affects the BM Content Builder plugin for WordPress, developed by SeaTheme. The plugin fails to perform a capability check on the ux_cb_page_options_save function in all versions up to and including 3.16.2.1. Authenticated users with subscriber-level access or above can modify page options and inject arbitrary web scripts. The injected scripts execute whenever a visitor accesses an affected page, resulting in stored cross-site scripting (XSS). The weakness is tracked under CWE-862: Missing Authorization.
Critical Impact
Any authenticated subscriber can persist malicious JavaScript into WordPress pages, enabling session theft, administrator account takeover, and arbitrary redirects for site visitors.
Affected Products
- BM Content Builder plugin for WordPress
- All versions up to and including 3.16.2.1
- Distributed by SeaTheme
Discovery Timeline
- 2025-06-06 - CVE-2025-1777 published to the National Vulnerability Database
- 2026-06-17 - Last updated in NVD database
Technical Details for CVE-2025-1777
Vulnerability Analysis
The BM Content Builder plugin exposes the ux_cb_page_options_save AJAX handler to any authenticated WordPress session. The handler updates stored page options but never verifies the caller's role or capability. As a result, a user holding only the default subscriber role, which WordPress sites commonly allow via open registration, can write arbitrary content into fields that are later rendered inside pages. Because the saved content is reflected without output encoding sufficient to neutralize script tags, injected JavaScript executes in the browsers of every subsequent visitor to the affected page, including administrators.
Root Cause
The root cause is a missing authorization check inside the ux_cb_page_options_save function. WordPress plugins are expected to call current_user_can() with an appropriate capability (for example edit_pages) and to validate a nonce before mutating persistent state. The vulnerable handler does neither, so authentication alone grants write access. This is a textbook instance of broken access control.
Attack Vector
Exploitation requires network reachability to the target site and a valid low-privilege account. The attacker authenticates, obtains a WordPress session cookie, and issues an admin-ajax.php request that invokes the ux_cb_page_options_save action with attacker-controlled payload data containing JavaScript. Once stored, the payload is served to every visitor of the affected page. Because the script runs in the context of the WordPress origin, it can call privileged REST endpoints, create administrator accounts, or exfiltrate cookies when a logged-in administrator views the page.
No verified proof-of-concept exploit code is published. See the Wordfence Vulnerability Report for additional technical context.
Detection Methods for CVE-2025-1777
Indicators of Compromise
- POST requests to /wp-admin/admin-ajax.php with the action parameter set to ux_cb_page_options_save originating from accounts without edit permissions.
- Unexpected <script>, onerror, or onload attributes stored in page option values or rendered in page output.
- New or modified administrator accounts and WordPress users created shortly after suspicious AJAX activity.
- Outbound requests from visitor browsers to attacker-controlled domains loaded from WordPress pages.
Detection Strategies
- Audit WordPress access logs for admin-ajax.php calls to the ux_cb_page_options_save action and correlate the caller's role.
- Scan the wp_postmeta and plugin option tables for stored HTML containing script tags or event handlers.
- Deploy a web application firewall rule that blocks requests to the vulnerable action from non-editor roles.
Monitoring Recommendations
- Alert on creation of new administrator or editor accounts outside of change windows.
- Monitor file integrity on WordPress core, theme, and plugin directories for unauthorized modifications.
- Track outbound DNS from the WordPress host and from client browsers to identify beaconing introduced by injected scripts.
How to Mitigate CVE-2025-1777
Immediate Actions Required
- Update the BM Content Builder plugin to a version later than 3.16.2.1 as soon as the vendor publishes a fix.
- Disable the BM Content Builder plugin on affected sites until a patched release is confirmed.
- Disable open user registration or restrict the default role to a non-privileged custom role that cannot reach plugin AJAX actions.
- Review all pages built with BM Content Builder for injected scripts and purge malicious content.
Patch Information
At the time of publication, no fixed version is listed in the NVD entry. Monitor the SeaTheme website and the Wordfence Vulnerability Report for an official patched release and apply it across all WordPress environments.
Workarounds
- Block requests to admin-ajax.php with action=ux_cb_page_options_save at the WAF or reverse proxy for all non-administrator sessions.
- Enforce strict Content Security Policy headers that disallow inline scripts to reduce the impact of stored XSS.
- Rotate credentials and session cookies for all WordPress administrators after remediation and audit user accounts for unauthorized additions.
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

