CVE-2025-12354
WordPress vulnerability analysis and mitigation

Overview

CVE-2025-12354 is a Missing Authorization vulnerability in the Live CSS Preview plugin for WordPress, affecting all versions up to and including 2.1.4. The flaw allows authenticated attackers with Subscriber-level access or above to modify the plugin's CSS settings via the unprotected wp_ajax_frontend_save AJAX endpoint. It was published on December 5, 2025, and assigned a CVSS v3.1 base score of 4.3 (Medium) (Wordfence, Red Hat CVE).

Technical details

The root cause is a missing capability check (CWE-862) on the wp_ajax_frontend_save AJAX action handler registered by the Live CSS Preview plugin. Because WordPress's wp_ajax_ hook is accessible to any authenticated user by default, the plugin fails to verify whether the requesting user has sufficient privileges before saving CSS data. An attacker with a Subscriber-level account (the lowest authenticated role in WordPress) can craft a POST request to the WordPress AJAX endpoint (/wp-admin/admin-ajax.php) with the action frontend_save and arbitrary CSS content, which the plugin will accept and persist without authorization checks (Wordfence, Red Hat CVE).

Impact

Successful exploitation allows a low-privileged authenticated attacker to overwrite the site-wide CSS settings managed by the Live CSS Preview plugin, enabling visual defacement of the WordPress site's front-end styling. While confidentiality and availability are not directly impacted, an attacker could inject malicious CSS (e.g., overlays, hidden phishing elements, or content obscuring legitimate UI) to deceive site visitors. The scope is limited to the plugin's CSS setting and does not directly grant code execution or access to sensitive data (Wordfence).

Exploitability

No public proof-of-concept exploit code or in-the-wild exploitation has been reported for CVE-2025-12354. The EPSS score is approximately 0.026% (0.000260), indicating a very low probability of exploitation in the near term. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Exploitation requires at minimum a valid Subscriber-level account on the target WordPress site, limiting opportunistic mass exploitation (Wordfence, Red Hat CVE).

Exploitation steps

  1. Reconnaissance: Identify WordPress sites running the Live CSS Preview plugin (versions ≤ 2.1.4) using tools like WPScan or by inspecting page source for plugin-specific assets.
  2. Obtain authenticated access: Register or obtain a Subscriber-level (or higher) account on the target WordPress site.
  3. Craft malicious AJAX request: Send an authenticated POST request to /wp-admin/admin-ajax.php with the parameters action=frontend_save and a CSS payload (e.g., injecting a CSS overlay or hidden phishing content).
  4. Verify persistence: Confirm the injected CSS is applied site-wide by visiting the front-end of the WordPress site and observing the modified styling. (Wordfence)

Indicators of compromise

  • Network: Authenticated POST requests to /wp-admin/admin-ajax.php with action=frontend_save from low-privileged user accounts (Subscriber role), especially from unexpected IP addresses.
  • Logs: WordPress access logs showing repeated or anomalous AJAX calls to admin-ajax.php with the frontend_save action from non-administrative users.
  • File System / Database: Unexpected or malicious CSS content stored in the plugin's settings (e.g., wp_options table entries associated with the Live CSS Preview plugin containing injected CSS rules such as overlays or hidden elements).

Mitigation and workarounds

Users should update the Live CSS Preview plugin to version 2.0.1 or later, which introduces the necessary capability check on the wp_ajax_frontend_save endpoint. If an immediate update is not possible, site administrators can deactivate or remove the plugin as a temporary workaround. Additionally, restricting open user registration or auditing Subscriber-level accounts can reduce the attack surface (Wordfence, WordPress Plugin).

Additional resources


SourceThis report was generated using AI

Related WordPress vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-16955NONEN/A
  • ai-engine
NoYesAug 08, 2026
CVE-2026-16953NONEN/A
  • ai-engine
NoYesAug 08, 2026
CVE-2026-16948NONEN/A
  • solace-extra
NoYesAug 08, 2026
CVE-2026-16608NONEN/A
  • download-monitor
NoYesAug 08, 2026
CVE-2026-16595NONEN/A
  • wpdirectorykit
NoYesAug 08, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management