{"schemaVersion":3,"id":"CVE-2026-86787","aliases":[],"status":"published","duplicateOf":null,"title":null,"description":"The affiliate-toolkit  WordPress plugin before 3.9.1 does not prevent a low-privileged user from supplying a template body that its bundled templating engine compiles and executes as PHP, allowing users with the Contributor role or above to run arbitrary PHP code on the server.","dates":{"published":"2026-10-14T06:00:13.226Z","modified":"2026-10-14T13:42:21.673Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.2,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":7.2,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.2,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00408,"percentile":0.33633,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":null,"baselineDate":null,"baselineScore":null},"history":[{"date":"2026-10-14T00:00:00.000Z","score":0.00185,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00408,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00408,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00408,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00408,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00408,"percentile":0.33633}],"last30":[{"date":"2026-10-14T00:00:00.000Z","score":0.00185,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00408,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00408,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00408,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00408,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00408,"percentile":0.33633}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"REF_0D77DBD091F62887","name":"Exploit Reference (wpscan.com)","source":"reference","url":"https://wpscan.com/vulnerability/ec9f71ee-fd44-46fc-989e-3b63ac04e8c3/","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-94","name":"Improper Control of Generation of Code ('Code Injection')","description":"The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/94.html"}],"affected":[{"vendor":"unknown","product":"affiliate-toolkit","name":"affiliate-toolkit","label":"affiliate-toolkit","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 3.8.7, < 3.9.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 3.8.7, < 3.9.1","eol":null,"hubHref":"/vendor/unknown/affiliate-toolkit"}],"affectedCount":1,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://wpscan.com/vulnerability/ec9f71ee-fd44-46fc-989e-3b63ac04e8c3/","label":"wpscan.com/vulnerability/ec9f71ee-fd44-46fc-989e-3b63ac04e8c3/","hostname":"wpscan.com","tags":["Exploit","VDB Entry","Technical Description"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-10-14T06:00:13.226Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-10-14T13:42:21.673Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":39,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T19:34:09.110Z","stale":false,"partial":false}}