{"api_version":"1","generated_at":"2026-07-24T03:05:12+00:00","cve":"CVE-2019-12826","urls":{"html":"https://cve.report/CVE-2019-12826","api":"https://cve.report/api/cve/CVE-2019-12826.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2019-12826","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2019-12826"},"summary":{"title":"CVE-2019-12826","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.","state":"PUBLIC","assigner":"cve@mitre.org","published_at":"2019-07-01 18:15:00","updated_at":"2019-07-31 08:15:00"},"problem_types":["CWE-352"],"metrics":[],"references":[{"url":"https://wpvulndb.com/vulnerabilities/9413","name":"https://wpvulndb.com/vulnerabilities/9413","refsource":"MISC","tags":[],"title":"Widget Logic <= 5.10.2 - CSRF and Lack of Authorisation","mime":"text/html","httpstatus":"403","archivestatus":"200"},{"url":"https://wpvulndb.com/vulnerabilities/9403","name":"https://wpvulndb.com/vulnerabilities/9403","refsource":"MISC","tags":[],"title":"Widget Logic <= 5.9.0 - CSRF to RCE","mime":"text/html","httpstatus":"403","archivestatus":"200"},{"url":"https://dannewitz.ninja/posts/widget-logic-csrf-to-rce","name":"https://dannewitz.ninja/posts/widget-logic-csrf-to-rce","refsource":"MISC","tags":["Exploit","Third Party Advisory"],"title":"Widget Logic <= 5.9.0 CSRF to RCE (CVE-2019-12826)","mime":"text/html","httpstatus":"-1","archivestatus":"200"},{"url":"https://plugins.trac.wordpress.org/changeset/2112753/widget-logic","name":"https://plugins.trac.wordpress.org/changeset/2112753/widget-logic","refsource":"CONFIRM","tags":["Third Party Advisory"],"title":"403 Forbidden","mime":"text/html","httpstatus":"403","archivestatus":"403"},{"url":"https://www.cve.org/CVERecord?id=CVE-2019-12826","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-12826","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2019","cve_id":"12826","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"wpchef","cpe5":"widget_logic","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"wordpress","cpe12":"*","cpe13":"*"},{"cve_year":"2019","cve_id":"12826","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"wpchef","cpe5":"widget_logic","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"wordpress","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2019-12826","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"refsource":"MISC","name":"https://dannewitz.ninja/posts/widget-logic-csrf-to-rce","url":"https://dannewitz.ninja/posts/widget-logic-csrf-to-rce"},{"refsource":"CONFIRM","name":"https://plugins.trac.wordpress.org/changeset/2112753/widget-logic","url":"https://plugins.trac.wordpress.org/changeset/2112753/widget-logic"},{"refsource":"MISC","name":"https://wpvulndb.com/vulnerabilities/9413","url":"https://wpvulndb.com/vulnerabilities/9413"},{"refsource":"MISC","name":"https://wpvulndb.com/vulnerabilities/9403","url":"https://wpvulndb.com/vulnerabilities/9403"}]}},"nvd":{"publishedDate":"2019-07-01 18:15:00","lastModifiedDate":"2019-07-31 08:15:00","problem_types":["CWE-352"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.0","vectorString":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":8.8,"baseSeverity":"HIGH"},"exploitabilityScore":2.8,"impactScore":5.9},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:M/Au:N/C:P/I:P/A:P","accessVector":"NETWORK","accessComplexity":"MEDIUM","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL","baseScore":6.8},"severity":"MEDIUM","exploitabilityScore":8.6,"impactScore":6.4,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":true}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:wpchef:widget_logic:*:*:*:*:*:wordpress:*:*","versionEndExcluding":"5.10.2","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2019","CveId":"12826","Ordinal":"151174","Title":"CVE-2019-12826","CVE":"CVE-2019-12826","Year":"2019"},"notes":[{"CveYear":"2019","CveId":"12826","Ordinal":"1","NoteData":"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.","Type":"Description","Title":null},{"CveYear":"2019","CveId":"12826","Ordinal":"2","NoteData":"2019-07-01","Type":"Other","Title":"Published"},{"CveYear":"2019","CveId":"12826","Ordinal":"3","NoteData":"2019-08-15","Type":"Other","Title":"Modified"}]}}}