CVE-2026-7615
MEDIUM
NVD
CVSS Score
4.3
Severity
MEDIUM
Published
May 22, 2026
Vendor
unknown
Description
The Widget Context plugin for WordPress is vulnerable to Cross-Site Request Forgery in all versions up to, and including, 1.3.3. This is due to missing or incorrect nonce validation on the save_widget_context_settings function. This makes it possible for unauthenticated attackers to modify widget visibility context settings stored in the WordPress options table via a forged POST request to /wp-admin/widgets.php via a forged request granted they can trick a site administrator into performing an action such as clicking on a link.
References
- https://github.com/kasparsd/widget-context-wporg/pull/73
- https://plugins.trac.wordpress.org/browser/widget-context/tags/1.3.3/src/WidgetContext.php#L282
- https://plugins.trac.wordpress.org/browser/widget-context/tags/1.3.3/src/WidgetContext.php#L311
- https://plugins.trac.wordpress.org/browser/widget-context/tags/1.3.3/src/WidgetContext.php#L91
- https://plugins.trac.wordpress.org/browser/widget-context/trunk/src/WidgetContext.php#L282