Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft forged POST to /wp-admin/widgets.php
-
DeliveryHost payload on attacker-controlled page
-
ExploitDeliver link to site administrator
-
ExecutionAdmin clicks link while authenticated
-
PersistMissing nonce check accepts forged request
-
ImpactWidget visibility settings overwritten in options table
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V3 - Web Frontend Security Anti-CSRF tokens, SameSite cookies
MITRE ATT&CK
1 technique across 1 tactic: Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that a logged-in WordPress site administrator with access to /wp-admin/widgets.php interact with an attacker-controlled link or page while their authenticated session is active - this is the mandatory UI:R condition reflected in the CVSS vector. The attacker needs no account, credentials, or prior access to the target WordPress installation (PR:N). The vulnerable code path is the save_widget_context_settings function, triggered by a POST request to /wp-admin/widgets.php; no special plugin configuration or non-default feature flag is required beyond the plugin being installed and active. Exploitation is limited by the need for real-time administrator interaction and by the low-severity outcome (widget visibility modification only, no code execution, no data exfiltration). The attack is not automatable at scale due to the UI:R requirement. |
| Impact | The CVSS 3.1 base score of 4.3 (Medium) reflects the constrained impact: AV:N indicates network delivery, AC:L indicates no special conditions, PR:N confirms no attacker privileges are required, but UI:R requires administrator interaction, and the scope is unchanged (S:U) with only low integrity impact (I:L) and no confidentiality or availability impact. Real-world risk is moderate-to-low: an attacker cannot exploit this autonomously and must successfully phish or socially engineer a site administrator. The integrity impact is limited to widget visibility settings - a nuisance-class modification rather than a site takeover. No EPSS data was provided in the source intelligence, and the vulnerability carries no CISA KEV listing and no known public exploit code, further supporting a lower operational priority. The CVSS vector is internally consistent with the description and no conflicting signals are present. Organizations with high-value WordPress deployments or sensitive widget-controlled content areas should prioritize patching, while others may treat this as a routine update cycle item. |
| Exploit ScenarioDerived | An attacker identifies a target WordPress site running Widget Context ≤ 1.3.3, crafts a malicious HTML page or email containing a hidden auto-submitting form that POSTs to the target site's /wp-admin/widgets.php endpoint with modified widget visibility parameters. The attacker then delivers this link to a site administrator via phishing, a comment, or a third-party site; when the administrator clicks the link while their WordPress session is active, the browser silently submits the forged request, overwriting widget context settings in the options table without any indication to the administrator. No public exploit code has been identified to automate this at scale. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 22, 2026
Cross-Site Request Forgery in the Widget Context WordPress plugin (all versions ≤ 1.3.3) allows unauthenticated attackers to modify widget visibility context settings stored in the WordPress options table by forging a POST request to /wp-admin/widgets.php. The root cause is missing or incorrect nonce validation in the save_widget_context_settings function, confirmed by Wordfence and corroborated by source code references at WidgetContext.php lines 91, 282, and 311. Exploitation requires social engineering a logged-in administrator into clicking an attacker-controlled link; no public exploit identified at time of analysis and the vulnerability is not listed in CISA KEV.
RemediationAI
An upstream fix has been submitted via GitHub Pull Request #73 (https://github.com/kasparsd/widget-context-wporg/pull/73); however, a released tagged version incorporating this fix has not been independently confirmed from the available data - administrators should monitor the WordPress plugin repository for an update beyond 1.3.3 and apply it immediately upon release. As a compensating control until a patched version is available, administrators can restrict access to /wp-admin/widgets.php via server-level rules (e.g., nginx location blocks or Apache mod_rewrite) to trusted IP ranges only, though this affects legitimate admin access. Additionally, ensuring administrators follow safe browsing hygiene - avoiding clicking unsolicited links while logged into the WordPress dashboard - directly mitigates the required UI:R condition. Disabling the plugin entirely eliminates exposure with the trade-off of losing widget context functionality.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Widget Context (CPE: cpe:2.3:a:kasparsd:widget_context:*:*:*:*:*:*:*:*) is a PHP-based WordPress plugin that controls widget display based on page context, storing configuration in the WordPress options table. The vulnerability is classified as CWE-352 (Cross-Site Request Forgery): the save_widget_context_settings function, exposed via a POST handler for /wp-admin/widgets.php, does not implement WordPress nonce validation. In WordPress, nonces (number-used-once tokens) are the standard CSRF defense mechanism for admin-area form submissions; their absence or incorrect implementation allows any forged POST request originating from an authenticated admin browser session to be accepted as legitimate. The affected code is visible in the plugin repository at WidgetContext.php lines 91, 282, and 311 across both the trunk and the 1.3.3 tagged release.
Know when Widget Context gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
Primary rating from Vendor (Wordfence) · only source for this CVE.
CVSS VectorVendor: Wordfence
DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Request Forgery exploits the automatic credential inclusion behavior of web browsers.
EUVD-2026-31415
GHSA-jrc7-p252-6hpq
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB