What the vulnerability does
01Description
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.
Explanation of Vulnerability in Simple Terms
02Summary
Widget Context versions up to 1.3.3 contain a cross-site request forgery (CSRF) vulnerability that allows attackers to perform unauthorized actions on behalf of site administrators. The vulnerability requires user interaction—an admin must visit a malicious page while logged in. This can lead to unintended modifications to widget settings or site configuration without the admin's knowledge.
What an attacker can do
03Attacker Capabilities
Trick a logged-in admin into performing unintended actions on the site via a malicious webpage.
Potential impact on your site
04Site Impact
An admin's session could be hijacked to modify widget settings or site configuration without their consent.
Conditions required to exploit
05Prerequisites
Admin must be logged in and visit an attacker-controlled page or link.
Key dates
06Disclosure timeline
May 22, 2026
CVE published
May 23, 2026
Record updated