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.
Problem types
CWE-352 Cross-Site Request Forgery (CSRF)
Product status
Any version
Timeline
| 2026-05-08: | Vendor Notified |
| 2026-05-21: | Disclosed |
Credits
darkestmode
References
www.wordfence.com/...-4bf9-46ee-9a6d-35eab7ef11a1?source=cve
plugins.trac.wordpress.org/...xt/trunk/src/WidgetContext.php
plugins.trac.wordpress.org/...gs/1.3.3/src/WidgetContext.php
plugins.trac.wordpress.org/...xt/trunk/src/WidgetContext.php
plugins.trac.wordpress.org/...gs/1.3.3/src/WidgetContext.php
plugins.trac.wordpress.org/...xt/trunk/src/WidgetContext.php
plugins.trac.wordpress.org/...gs/1.3.3/src/WidgetContext.php
github.com/kasparsd/widget-context-wporg/pull/73