{"schemaVersion":4,"id":"CVE-2026-132618","aliases":[],"status":"published","duplicateOf":null,"title":"Optimole <= 4.2.20 - Unauthenticated Stored Cross-Site Scripting via Comment Content","description":"The Optimole – Optimize Images | Convert WebP & AVIF | CDN & Lazy Load | Image Optimization plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'comment' parameter in all versions up to, and including, 4.2.20 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. Successful exploitation requires that iframe lazy-loading is enabled (the default on new Optimole-connected installs), that the target post contains at least one iframe with fallback text, and that the attacker has had at least one prior comment approved so WordPress's default \"Comment author must have a previously approved comment\" setting auto-approves subsequent malicious comments.","dates":{"published":"2026-11-26T14:36:05.719Z","modified":"2026-12-01T19:37:41.759Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":5.4,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":5.4,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":5.4,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00421,"percentile":0.38384,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":null,"baselineDate":null,"baselineScore":null},"history":[{"date":"2026-11-27T00:00:00.000Z","score":0.00421,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00421,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00421,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00421,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00421,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00421,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00421,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00421,"percentile":0.38384}],"last30":[{"date":"2026-11-27T00:00:00.000Z","score":0.00421,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00421,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00421,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00421,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00421,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00421,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00421,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00421,"percentile":0.38384}]},"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-79","name":"Improper Neutralization of Input During Web Page Generation","description":"The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/79.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.20","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"4.2.20","endInclusive":true}}],"versionsText":"≤ 4.2.20","eol":null,"hubHref":"/vendor/optimole/optimole_-_optimize_images__convert_webp__avif__cdn__lazy_load__image_optimization"}],"affectedCount":1,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/50f5422b-aaa0-4ffa-8e3c-0eb4c2cde1d9?source=cve","label":"www.wordfence.com/threat-intel/vulnerabilities/id/50f5422b-aaa0-4ffa-8e3c-0eb4c2cde1d9?source=cve","hostname":"www.wordfence.com","tags":[]},{"url":"https://plugins.trac.wordpress.org/browser/optimole-wp/tags/4.2.20/inc/lazyload_replacer.php#L396","label":"plugins.trac.wordpress.org/browser/optimole-wp/tags/4.2.20/inc/lazyload_replacer.php","hostname":"plugins.trac.wordpress.org","tags":[]},{"url":"https://plugins.trac.wordpress.org/browser/optimole-wp/tags/4.2.20/inc/lazyload_replacer.php#L377","label":"plugins.trac.wordpress.org/browser/optimole-wp/tags/4.2.20/inc/lazyload_replacer.php","hostname":"plugins.trac.wordpress.org","tags":[]},{"url":"https://plugins.trac.wordpress.org/browser/optimole-wp/tags/4.2.20/inc/manager.php#L557","label":"plugins.trac.wordpress.org/browser/optimole-wp/tags/4.2.20/inc/manager.php","hostname":"plugins.trac.wordpress.org","tags":[]},{"url":"https://plugins.trac.wordpress.org/browser/optimole-wp/#tags/4.2.21","label":"plugins.trac.wordpress.org/browser/optimole-wp/","hostname":"plugins.trac.wordpress.org","tags":[]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-11-26T14:36:05.719Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-12-01T19:37:41.759Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"routine","tag":null,"reason":"Not severe (CVSS 5.4, network access); no exploitation reported by the 5 checked sources","nextStep":"Fix in the normal cadence","rank":[0,0,0,0,0,54],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-04T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.00421,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2026-12-01T19:37:41.759Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":5.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N","version":"3.1","headline":true},{"type":"cvss","source":"nvd","date":"2026-12-01T19:37:41.759Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":5.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N","version":"3.1"},{"type":"adp","source":"cisa-adp","date":"2026-11-30T11:33:12.260Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"exploitation":"none"}],"epss":{"value":0.00421,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T12:01:28.220Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T12:01:28.725Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T12:01:28.919Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T12:01:03.802Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T12:01:26.562Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T12:01:25.560Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T12:43:00.459Z","stale":false,"partial":false}}