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

4.3
Missing Authorization
CVE CVE-2026-7249
CVSS 4.3 (Medium)
Publicly Published May 21, 2026
Last Updated May 22, 2026
Researcher momopon1415

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.

References

Share

Vulnerability Details for Location Weather – WordPress Weather Forecast, Air Quality & Weather Widget

Software Type Plugin
Software Slug location-weather (view on wordpress.org)
Patched? Yes
Remediation Update to version 3.0.3, or a newer patched version
Affected Version
  • <= 3.0.2
Patched Version
  • 3.0.3

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.

Documentation