# CVE-2019-12826: A Cross-Site-Request-Forgery (CSRF) vulnerability in widgetlogic.php in the 2by2host Widget Logic plugin before 5.10.2 for WordPress allows…

- Severity: High 8.8 (CVSS:3.0, scored by NVD) `CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.11%, higher than 66% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2019-07-01T17:56:51.000Z
- Modified: 2026-06-17T02:15:34.110Z
- Weaknesses: CWE-352
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- wpchef widget_logic: before 5.10.2

## Every score

- NVD: CVSS:3.0 8.8 High `CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.8 Medium `AV:N/AC:M/Au:N/C:P/I:P/A:P`

## References

- <https://dannewitz.ninja/posts/widget-logic-csrf-to-rce> (exploit, third-party-advisory)
- <https://plugins.trac.wordpress.org/changeset/2112753/widget-logic> (third-party-advisory)
- <https://wpvulndb.com/vulnerabilities/9413>
- <https://wpvulndb.com/vulnerabilities/9403>

## Sources

- CVE List: [CVE-2019-12826](https://www.cve.org/CVERecord?id=CVE-2019-12826), CVE Terms of Use, modified 2024-08-04
- NVD: [CVE-2019-12826](https://nvd.nist.gov/vuln/detail/CVE-2019-12826), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2019-12826 · Whole record: https://cve.day/CVE-2019-12826.json · Rebuilt by cve.day 2026-11-25T22:57:45.382Z
