CVE-2026-7249

Location Weather <= 3.0.2 - Missing Authorization to Authenticated (Contributor+) Block Settings Modification and Cache Purging

Published May 22, 2026 CVSS 3.1 · 4.3 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

Remediation

No solution or workaround provided in the CVE record.

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 available
History
Type Values Removed Values Added
Metrics ssvc

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

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
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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
Wordfence
Published
Updated
May 22, 2026, 6:37 PM
Reserved
Apr 27, 2026, 6:10 PM
Status
Deferred
Published
May 22, 2026, 5:16 AM
Modified
Jul 24, 2026, 8:10 AM