Description
The Location Weather plugin for WordPress is vulnerable to unauthorized modification of data due to missing capability checks on the `splw_update_block_options()` and `lwp_clean_weather_transients()` functions in all versions up to, and including, 3.0.2. This makes it possible for authenticated attackers, with Contributor-level access and above, to disable all weather blocks and purge all weather cache transients. The nonce required for these actions is exposed to all authenticated users via `wp_localize_script()` on the `init` hook.
Published: 2026-05-22
Score: 4.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The Location Weather plugin for WordPress allows authenticated contributors and higher to change block settings and purge all weather cache transients without proper capability checks. The plugin exposes a nonce to all logged‑in users through wp_localize_script, enabling attackers to craft requests that bypass the usual permission requirements. This flaw can be exploited by any contributor or higher builder to disable weather interfaces on the site and clear all cached data, potentially disrupting user experience and rendering the plugin non‑functional.

Affected Systems

WordPress sites that have the Location Weather plugin installed, version 3.0.2 or earlier, from the vendor shapedplugin: Location Weather – WordPress Weather Forecast, AQI, Temperature and Weather Widget.

Risk and Exploitability

The vulnerability has a CVSS score of 4.3, indicating low severity, and no EPSS data is available. It is not listed in the CISA KEV catalog. Attackers must first be authenticated with Contributor role or higher, then they can submit requests using the exposed nonce. The impact is limited to block configuration and cache but can effectively disable the plugin’s visual features. Even though the likelihood of exploitation is not quantified, the low CVSS suggests it is not a high‑priority target but should still be remediated to prevent site disruption.

Generated by OpenCVE AI on May 22, 2026 at 06:22 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the Location Weather plugin to version 3.0.3 or later, which addresses the missing capability checks on splw_update_block_options() and lwp_clean_weather_transients()
  • If an update is not immediately possible, remove or disable the plugin to eliminate the vulnerable functionality from the site
  • Limit Contributor and higher roles to only those users who need to manage blocks, and audit existing contributors to ensure only trusted users retain that capability

Generated by OpenCVE AI on May 22, 2026 at 06:22 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 22 May 2026 19:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 22 May 2026 13:15:00 +0000

Type Values Removed Values Added
First Time appeared Shapedplugin
Shapedplugin location Weather – Wordpress Weather Forecast, Aqi, Temperature And Weather Widget
Wordpress
Wordpress wordpress
Vendors & Products Shapedplugin
Shapedplugin location Weather – Wordpress Weather Forecast, Aqi, Temperature And Weather Widget
Wordpress
Wordpress wordpress

Fri, 22 May 2026 05:00:00 +0000

Type Values Removed Values Added
Description The Location Weather plugin for WordPress is vulnerable to unauthorized modification of data due to missing capability checks on the `splw_update_block_options()` and `lwp_clean_weather_transients()` functions in all versions up to, and including, 3.0.2. This makes it possible for authenticated attackers, with Contributor-level access and above, to disable all weather blocks and purge all weather cache transients. The nonce required for these actions is exposed to all authenticated users via `wp_localize_script()` on the `init` hook.
Title Location Weather <= 3.0.2 - Missing Authorization to Authenticated (Contributor+) Block Settings Modification and Cache Purging
Weaknesses CWE-862
References
Metrics cvssV3_1

{'score': 4.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N'}


Subscriptions

Shapedplugin Location Weather – Wordpress Weather Forecast, Aqi, Temperature And Weather Widget
Wordpress Wordpress
cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-05-22T18:37:22.642Z

Reserved: 2026-04-27T18:10:28.992Z

Link: CVE-2026-7249

cve-icon Vulnrichment

Updated: 2026-05-22T18:37:19.134Z

cve-icon NVD

Status : Received

Published: 2026-05-22T05:16:27.623

Modified: 2026-05-22T05:16:27.623

Link: CVE-2026-7249

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-05-22T12:37:57Z

Weaknesses