Skip to main content
Vulnerability Database/CVE-2025-12186

CVE-2025-12186: Weekly Planner WordPress Plugin XSS Flaw

CVE-2025-12186 is a stored cross-site scripting vulnerability in the Weekly Planner WordPress plugin affecting admin settings. This article covers the technical details, affected versions, security impact, and mitigation strategies.

Published:

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-12186 Overview

The Weekly Planner plugin for WordPress contains a stored Cross-Site Scripting (XSS) vulnerability in its admin settings. The flaw affects all versions up to and including 1.0 and stems from insufficient input sanitization and output escaping [CWE-79]. Authenticated attackers with administrator-level permissions or above can inject arbitrary web scripts into pages. Those scripts execute whenever a user accesses an affected page. The vulnerability only affects multi-site installations and installations where unfiltered_html has been disabled.

Critical Impact

An authenticated administrator on a WordPress multisite instance can persist JavaScript payloads through plugin settings, enabling session theft, privilege escalation across sites, or redirection of visitors who load the affected pages.

Affected Products

  • WordPress Weekly Planner plugin, all versions up to and including 1.0
  • WordPress multisite installations with the plugin installed
  • WordPress installations with the unfiltered_html capability disabled

Discovery Timeline

  • 2025-12-05 - CVE-2025-12186 published to the National Vulnerability Database
  • 2026-10-18 - Last updated in NVD database

Technical Details for CVE-2025-12186

Vulnerability Analysis

The Weekly Planner plugin exposes administrative settings fields that accept user-supplied values without adequate sanitization on input or escaping on output. When an administrator submits settings data, the plugin stores the raw payload and later renders it in pages viewed by other users. Because the stored content is emitted into the HTML context without escaping, injected <script> tags execute in the victim's browser session.

Stored XSS in a privileged administrative surface is particularly relevant on WordPress multisite deployments. In those environments, site administrators are not fully trusted and are normally prevented from posting raw HTML through the unfiltered_html restriction. The plugin bypasses that trust boundary by failing to apply equivalent sanitization in its own settings handler.

Root Cause

The root cause is improper neutralization of input during web page generation. The plugin does not apply WordPress sanitization helpers such as sanitize_text_field() on input, nor escaping helpers such as esc_html() or esc_attr() on output. As a result, markup supplied through admin settings persists verbatim in the database and renders as active content.

Attack Vector

Exploitation requires authenticated access at administrator level or higher. The attacker navigates to the Weekly Planner settings screen, submits a payload containing executable JavaScript in a vulnerable field, and saves the configuration. When a super administrator, site administrator, or end user subsequently loads a page that renders the stored value, the script executes under the origin of the WordPress site. On multisite installations, this can be leveraged to pivot from a per-site administrator to the super administrator role.

No verified public proof-of-concept code is available. Refer to the Wordfence Vulnerability Analysis for additional technical context.

Detection Methods for CVE-2025-12186

Indicators of Compromise

  • Unexpected <script>, <iframe>, or event-handler attributes stored in WordPress wp_options rows associated with the Weekly Planner plugin.
  • Outbound requests from editor or visitor browsers to unfamiliar domains when loading pages that render Weekly Planner content.
  • New or modified administrator accounts created shortly after a settings change in the plugin.

Detection Strategies

  • Audit the wp_options table for Weekly Planner option keys and inspect values for HTML or JavaScript syntax.
  • Review WordPress audit logs for update_option events against the plugin's settings around the time of suspicious activity.
  • Scan rendered output of pages that embed Weekly Planner content for script tags not present in the published theme or editor content.

Monitoring Recommendations

  • Enable a WordPress activity logging plugin to capture settings changes performed by administrator accounts.
  • Alert on the creation of new administrator or super administrator accounts across multisite networks.
  • Monitor browser-side CSP violation reports from the WordPress frontend to catch injected inline scripts.

How to Mitigate CVE-2025-12186

Immediate Actions Required

  • Deactivate and remove the Weekly Planner plugin on multisite installations and on any site where unfiltered_html is disabled until a patched version is released.
  • Review existing plugin settings for stored HTML or JavaScript and clear any suspicious values.
  • Rotate credentials for administrator and super administrator accounts if indicators of exploitation are found.

Patch Information

No vendor patch has been identified in the NVD entry at the time of publication. Monitor the WordPress Plugin page for a fixed release above version 1.0 and apply it as soon as available.

Workarounds

  • Restrict administrator access on multisite networks to a minimal set of trusted operators until the plugin is updated or removed.
  • Enforce a Content Security Policy that disallows inline scripts on pages rendering plugin output to blunt payload execution.
  • Re-enable the unfiltered_html capability only for fully trusted roles, and never for untrusted site administrators on multisite.
bash
# Configuration example: disable the plugin network-wide via WP-CLI
wp plugin deactivate weekly-planner --network
wp plugin delete weekly-planner

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

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.