CVE-2025-12401
WordPress vulnerability analysis and mitigation

Overview

CVE-2025-12401 is a Cross-Site Request Forgery (CSRF) vulnerability in the Label Plugins plugin for WordPress, affecting all versions up to and including 0.5. The flaw allows unauthenticated attackers to update plugin settings and inject malicious web scripts by tricking a site administrator into clicking a crafted link. It was published on November 3, 2025, with Wordfence as the reporting CNA. The vulnerability carries a CVSS v3.1 base score of 6.1 (Medium) (Wordfence, Red Hat CVE).

Technical details

The root cause is missing or incorrect nonce validation in the label_plugins_options() function within lp_admin_page.php (lines 35, 37, and 70), classified as CWE-352 (Cross-Site Request Forgery). Because WordPress nonces are not properly verified before processing settings updates, an attacker can craft a forged HTTP request that, when executed in the context of an authenticated administrator's browser session, causes the plugin to accept and apply malicious input — including injected JavaScript (Stored XSS via CSRF). Exploitation requires social engineering to induce an administrator to interact with a malicious link or page (Wordfence, WordPress Trac).

Impact

Successful exploitation allows an attacker to modify plugin settings and inject persistent malicious scripts into the WordPress site, resulting in low confidentiality and integrity impact with no direct availability impact. Injected scripts could be used to steal session cookies, redirect users to phishing pages, or further compromise site visitors' browsers. The changed scope (S:C) indicates the impact extends beyond the plugin itself to affect site users who encounter the injected content (Wordfence).

Exploitability

No public proof-of-concept exploit code or evidence of active in-the-wild exploitation has been reported for CVE-2025-12401. The EPSS score is approximately 0.012% (0.000120), 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 user interaction (an administrator clicking a malicious link), which limits opportunistic mass exploitation (Wordfence, Red Hat CVE).

Exploitation steps

  1. Reconnaissance: Identify WordPress sites running the Label Plugins plugin version 0.5 or earlier, using tools like WPScan or by inspecting publicly accessible plugin metadata.
  2. Craft malicious request: Create an HTML page or link containing a forged form or auto-submitting request targeting the plugin's settings endpoint (handled by label_plugins_options()), with a malicious JavaScript payload embedded in a settings field.
  3. Social engineering: Deliver the crafted link or page to a site administrator via email, comment, or other channel, inducing them to click it while authenticated to the WordPress admin panel.
  4. CSRF execution: When the administrator's browser loads the malicious page, it automatically submits the forged request to the WordPress site. Because nonce validation is absent, the server accepts and saves the attacker-controlled settings, including the injected script.
  5. Stored XSS trigger: The injected script is stored in the plugin's settings and subsequently executed in the browsers of users or administrators who visit affected pages, enabling session hijacking, credential theft, or further attacks (Wordfence, WordPress Trac).

Indicators of compromise

  • Logs: WordPress access logs showing unexpected POST requests to admin-ajax.php or admin settings pages associated with the Label Plugins plugin from unusual referrers or external origins.
  • File System: Unexpected or modified plugin settings stored in the WordPress database (wp_options table) containing JavaScript tags or encoded script payloads in Label Plugins-related option keys.
  • Network: Outbound connections from site visitors' browsers to unknown external domains, potentially indicating active XSS payload execution (e.g., cookie exfiltration endpoints).
  • Process/Application: Presence of <script> tags or JavaScript event handlers in plugin-rendered output on WordPress pages where such content is not expected.

Mitigation and workarounds

Users should immediately update the Label Plugins plugin to a version beyond 0.5 that includes proper nonce validation, if a patched release is available from the WordPress plugin repository. If no patched version exists, the recommended workaround is to deactivate and remove the plugin until a fix is released. Site administrators should also review the wp_options table for any unexpected or malicious values associated with Label Plugins settings. General hardening measures include restricting administrator access, using a web application firewall (WAF) with CSRF protection rules, and applying the principle of least privilege (Wordfence).

Community reactions

Wordfence disclosed the vulnerability as part of their weekly WordPress vulnerability report for November 3–9, 2025, noting it in their threat intelligence feed. No significant broader media coverage, vendor statements beyond the Wordfence advisory, or notable researcher commentary has been identified for this vulnerability (Wordfence Blog).

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-19848MEDIUM6.5
  • wp-user-avatar
NoYesAug 21, 2026
CVE-2026-17559MEDIUM5.3
  • content-protector
NoYesAug 21, 2026
CVE-2026-16650MEDIUM5.3
  • charitable
NoYesAug 21, 2026
CVE-2026-15150MEDIUM5.3
  • mycred
NoYesAug 21, 2026
CVE-2026-18356LOW3.7
  • limit-login-attempts-reloaded
NoYesAug 21, 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