{
 "id": "WPSEC-2026-4019",
 "url": "https://wpsec.com/vuln/WPSEC-2026-4019/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-4019/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-4019/index.md",
 "osv_url": "https://wpsec.com/vuln/osv/WPSEC-2026-4019.json",
 "title": "Optimole <= 4.2.20 - Improper Certificate Validation in Optimole API Requests",
 "description": "The Optimole plugin for WordPress is vulnerable to Improper Certificate Validation in all versions up to, and including, 4.2.20 due to TLS certificate verification being disabled (sslverify set to false) on remote requests to the Optimole API, onboarding and error reporting endpoints. This makes it possible for attackers in a privileged network position to perform man-in-the-middle attacks, intercepting the API key and other data sent to the service or tampering with the responses.",
 "plugin": {
  "slug": "optimole-wp",
  "name": "Optimole",
  "full_name": "Optimole – Optimize Images | Convert WebP & AVIF | CDN & Lazy Load | Image Optimization",
  "wordpress_org": "https://wordpress.org/plugins/optimole-wp/",
  "advisories_url": "https://wpsec.com/vuln/plugin/optimole-wp/",
  "attacksurface": "https://attacksurface.wpsec.com/plugin/optimole-wp"
 },
 "type": "UNKNOWN",
 "cwe": [
  "CWE-295"
 ],
 "cve": [],
 "cvss": {
  "version": "3.1",
  "score": 4.8,
  "vector": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N",
  "severity": "Medium"
 },
 "affected": {
  "ranges": [
   {
    "from": null,
    "from_inclusive": true,
    "to": "4.2.21",
    "to_inclusive": false
   }
  ],
  "text": [
   "all versions before 4.2.21"
  ]
 },
 "introduced_in": null,
 "fixed_in": "4.2.21",
 "remediation": "Update to 4.2.21 or later.",
 "fix_released": "2026-11-25T17:44:27+00:00",
 "published": "2026-11-26T17:45:12+00:00",
 "updated": "2026-11-26T12:03:41.708926+00:00",
 "also_published_as": null,
 "references": [
  "https://wpsec.com/vuln/WPSEC-2026-4019/",
  "https://plugins.svn.wordpress.org/optimole-wp/tags/4.2.21/",
  "https://wordpress.org/plugins/optimole-wp/"
 ],
 "attacksurface_url": "https://attacksurface.wpsec.com/plugin/optimole-wp",
 "source": "WPSec",
 "license": {
  "name": "CC BY 4.0",
  "url": "https://creativecommons.org/licenses/by/4.0/"
 },
 "usage": {
  "plugin": "Medium",
  "affected_versions": "Medium",
  "as_of": "2026-11-26"
 }
}