
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2025-8944 is a missing authorization vulnerability in the OceanWP WordPress theme that allows any authenticated user (e.g., subscriber-level) to update the darkMode site setting via an unprotected AJAX handler. It affects all OceanWP versions before 4.1.2 and was publicly disclosed on August 15, 2025, with CVE assignment published on September 5, 2025. The vulnerability carries a CVSS v3.1 base score of 4.3 (Medium) (WPScan, Red Hat CVE).
The root cause is a missing capability check (CWE-862 / CWE-863 – Missing/Incorrect Authorization) on the ocean_update_search_box_light_mode AJAX action handler registered by the OceanWP theme. Because no nonce or role verification is enforced, any authenticated WordPress user — including those with the lowest subscriber role — can send a crafted POST request to wp-admin/admin-ajax.php with the action=ocean_update_search_box_light_mode parameter and an arbitrary darkMode value to overwrite the stored theme option. The attack vector is network-based, requires low privileges, and has low attack complexity with no user interaction needed (WPScan).
Successful exploitation allows a low-privileged authenticated attacker to modify the darkMode theme option stored in the WordPress database, resulting in a limited integrity impact with no confidentiality or availability consequences. While the direct impact is confined to altering a visual site setting, the vulnerability demonstrates a broken access control pattern (OWASP A5) that could be leveraged for minor site defacement or as a foothold for further option-manipulation attacks if similar unprotected handlers exist (WPScan, Red Hat CVE).
A proof-of-concept exploit is publicly available via WPScan, demonstrating exploitation with a simple authenticated POST request. The EPSS score is very low at approximately 0.018%, indicating limited automated exploitation activity at this time. There is no evidence of in-the-wild exploitation, no known threat actor attribution, and the vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog (WPScan).
/wp-content/themes/oceanwp/style.css).curl or Burp Suite:POST /wp-admin/admin-ajax.php HTTP/1.1
Host: <target>
Content-Type: application/x-www-form-urlencoded
Cookie: wordpress_logged_in=<session_cookie>
action=ocean_update_search_box_light_mode&darkMode=<arbitrary_value>darkMode WordPress option has been updated in the database by observing the site's visual behavior or querying the wp_options table if database access is available (WPScan)./wp-admin/admin-ajax.php with action=ocean_update_search_box_light_mode from low-privileged user sessions or unexpected IP addresses.admin-ajax.php with the above action parameter from subscriber-role accounts.darkMode entry in the wp_options table, particularly if changed outside of normal administrative activity (WPScan).Update the OceanWP WordPress theme to version 4.1.2 or later, which introduces proper capability checks on the affected AJAX handler. As a temporary workaround, site administrators can restrict AJAX access to authenticated non-admin users via a Web Application Firewall (WAF) rule blocking requests to admin-ajax.php with action=ocean_update_search_box_light_mode from non-administrator sessions. Disabling user registration or restricting subscriber-level accounts on the site also reduces the attack surface (WPScan).
The vulnerability was discovered and responsibly disclosed by researcher Hamit Cibo, who is credited on the WPScan entry. Sucuri included it in their September 2025 vulnerability patch roundup, recommending prompt updates for OceanWP users (Sucuri Blog). No significant broader media coverage or social media discussion has been identified for this medium-severity issue.
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."