Widget Logic: Cross-site request forgery
Widget Logic is affected by cross-site request forgery. Exposure depends on how the affected operation is made reachable by the site. Exploitation relies on a signed-in privileged user submitting an attacker-controlled request.
- Component
- Widget Logic
- Plugin slug
widget-logic- Affected
- See vendor advisory
- Safe version
- See mitigation notes
- Published
- Jul 01, 2019
This CVE was published Jul 01, 2019 and is one of 2 known issues for this plugin.
Update, patch or deactivate.
Update Widget Logic to a release outside the affected range, or disable and remove it until a fixed version is available.
No confirmed safe version is listed. Consider a vendor-supported patch or temporarily restricting the affected functionality while you assess the risk.
Deactivate only when warranted by your risk profile, or when advised by your hosting provider in the limited circumstances where the vulnerability cannot otherwise be mitigated. If you’re unsure which action is appropriate, contact Fused or your hosting provider for guidance.
Technical description
A Cross-Site-Request-Forgery (CSRF) vulnerability in widget_logic.php in the 2by2host Widget Logic plugin before 5.10.2 for WordPress allows remote attackers to execute PHP code via snippets (that are attached to widgets and then eval'd to dynamically determine their visibility) by crafting a malicious POST request that tricks administrators into adding the code.
NVD vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Primary and upstream sources
- NVD record for CVE-2019-12826
- Upstream reference dannewitz.ninja
- WordPress upstream reference plugins.trac.wordpress.org
- Upstream reference wpvulndb.com
- Upstream reference wpvulndb.com
- Upstream reference dannewitz.ninja
- WordPress upstream reference plugins.trac.wordpress.org
- Upstream reference wpvulndb.com
- Upstream reference wpvulndb.com