{"schemaVersion":3,"id":"CVE-2026-11784","aliases":[],"status":"published","duplicateOf":null,"title":null,"description":"The Optimole – Optimize Images | Convert WebP & AVIF | CDN & Lazy Load | Image Optimization plugin for WordPress is vulnerable to Cross-Site Request Forgery in all versions up to, and including, 4.2.6. This is due to missing or incorrect nonce validation on the replace_file function. This makes it possible for unauthenticated attackers to overwrite existing media attachments with attacker-supplied file content by supplying a forged multipart POST request targeting any attachment the victim has edit_post capability over via a forged request granted they can trick a site administrator into performing an action such as clicking on a link. The forged request requires a victim with at least Author-level privileges, as the handler enforces a current_user_can('edit_post', $id) check; tricking an Author-level or higher user into clicking a crafted link is sufficient to trigger the overwrite against attachments that user can edit.","dates":{"published":"2026-06-18T05:34:25.696Z","modified":"2026-06-18T13:03:09.076Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":4.3,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":4.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":4.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"wordfence","score":4.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00228,"percentile":0.12729,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.00228},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00228,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00228,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00228,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00228,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00228,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00228,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00228,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00228,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00228,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00228,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00228,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00228,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00228,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00228,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00228,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00228,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00228,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00228,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00228,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00228,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00228,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00228,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00228,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00228,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00228,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00228,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00228,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00228,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00228,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00228,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00228,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00228,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00228,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00228,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00228,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00228,"percentile":0.12729}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.00228,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00228,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00228,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00228,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00228,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00228,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00228,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00228,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00228,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00228,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00228,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00228,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00228,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00228,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00228,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00228,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00228,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00228,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00228,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00228,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00228,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00228,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00228,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00228,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00228,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00228,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00228,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00228,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00228,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00228,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00228,"percentile":0.12729}]},"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":[],"exploitCount":0,"weaknesses":[{"id":"CWE-352","name":"Cross-Site Request Forgery (CSRF)","description":"The web application does not, or cannot, sufficiently verify whether a request was intentionally provided by the user who sent the request, which could have originated from an unauthorized actor.","type":"weakness","status":"Stable","abstraction":"Compound","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/352.html"}],"affected":[{"vendor":"optimole","product":"optimole – optimize images | convert webp & avif | cdn & lazy load | image optimization","name":"Optimole – Optimize Images | Convert WebP & AVIF | CDN & Lazy Load | Image Optimization","label":"optimole – optimize images | convert webp & avif | cdn & lazy load | image optimization","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 4.2.6","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 4.2.6","eol":null,"hubHref":"/vendor/optimole/optimole_-_optimize_images__convert_webp__avif__cdn__lazy_load__image_optimization"},{"vendor":"wordpress","product":"optimole-wp","name":"Optimole – Optimize Images | Convert WebP & AVIF | CDN & Lazy Load | Image Optimization","label":"optimole-wp","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 4.2.6 (fixed in 4.2.7)","noFixRecorded":false,"fixedIn":"4.2.7"}],"versionsText":"≤ 4.2.6 (fixed in 4.2.7)","eol":null,"hubHref":null}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/8a90de6e-6bd5-43b6-980d-84d25d4120ad?source=cve","label":"www.wordfence.com/threat-intel/vulnerabilities/id/8a90de6e-6bd5-43b6-980d-84d25d4120ad?source=cve","hostname":"www.wordfence.com","tags":[]},{"url":"https://plugins.trac.wordpress.org/browser/optimole-wp/tags/4.2.6/inc/media_rename/attachment_edit.php#L331","label":"plugins.trac.wordpress.org/browser/optimole-wp/tags/4.2.6/inc/media_rename/attachment_edit.php","hostname":"plugins.trac.wordpress.org","tags":[]},{"url":"https://plugins.trac.wordpress.org/browser/optimole-wp/tags/4.2.6/inc/media_rename/attachment_edit.php#L24","label":"plugins.trac.wordpress.org/browser/optimole-wp/tags/4.2.6/inc/media_rename/attachment_edit.php","hostname":"plugins.trac.wordpress.org","tags":[]},{"url":"https://plugins.trac.wordpress.org/browser/optimole-wp/tags/4.2.5/inc/media_rename/attachment_edit.php#L331","label":"plugins.trac.wordpress.org/browser/optimole-wp/tags/4.2.5/inc/media_rename/attachment_edit.php","hostname":"plugins.trac.wordpress.org","tags":[]},{"url":"https://plugins.trac.wordpress.org/browser/optimole-wp/tags/4.2.5/inc/media_rename/attachment_edit.php#L24","label":"plugins.trac.wordpress.org/browser/optimole-wp/tags/4.2.5/inc/media_rename/attachment_edit.php","hostname":"plugins.trac.wordpress.org","tags":[]},{"url":"https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=3574315%40optimole-wp&new=3574315%40optimole-wp&sfp_email=&sfph_mail=","label":"plugins.trac.wordpress.org/changeset","hostname":"plugins.trac.wordpress.org","tags":[]},{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/8a90de6e-6bd5-43b6-980d-84d25d4120ad","label":"www.wordfence.com/threat-intel/vulnerabilities/id/8a90de6e-6bd5-43b6-980d-84d25d4120ad","hostname":"www.wordfence.com","tags":["Vendor Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-06-18T05:34:25.696Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-06-18T13:03:09.076Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":17,"level":"low","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T08:09:47.520Z","stale":false,"partial":false}}