CVE-2019-12826

high

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.

References

https://wpvulndb.com/vulnerabilities/9413

https://wpvulndb.com/vulnerabilities/9403

https://plugins.trac.wordpress.org/changeset/2112753/widget-logic

https://dannewitz.ninja/posts/widget-logic-csrf-to-rce

Details

Source: Mitre, NVD

Published: 2019-07-01

Updated: 2026-06-17

Risk Information

CVSS v2

Base Score: 6.8

Vector: CVSS2#AV:N/AC:M/Au:N/C:P/I:P/A:P

Severity: Medium

CVSS v3

Base Score: 8.8

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Severity: High

EPSS

EPSS: 0.00313