SecurityContext

CVE-2026-120739: Optimole - Stored Cross-Site Scripting

  • Cve: CVE-2026-120739
  • Name: Optimole - Stored Cross-Site Scripting
  • 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 's (missing_srcsets[*][*].s)' parameter in all versions up to, and including, 4.2.18 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. The HMAC signature required to pass the REST endpoint's authorization check is published in plaintext to unauthenticated visitors inside the inline optimoleDataOptimizer JavaScript object on any page with an incomplete profile, making the effective authentication barrier nonexistent.
  • Impact: Unauthenticated attackers can inject arbitrary scripts that execute in victims' browsers, potentially leading to session hijacking or data theft.
  • Remediation: Update to the latest version of the Optimole plugin.
  • Vulnerability type: stored_xss
  • Vulnerability impact: client_script_exec
  • Requirement type: none
  • Labels source: securitycontext
  • Severity: high
  • Cvss score: 7.2
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
  • Epss score: 0.00402
  • Epss percentile: 0.34904
  • Assignee: [email protected]
  • Published at: 2026-11-07T04:17:13Z
  • Age in days: 17
  • Modified at: 2026-11-07T18:17:18Z
  • References total: 7
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-120739
  • Nvd status: deferred
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, products total, products, oss, projects total, projects, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-79Improper Neutralization of Input During Web Page Generation

References

Same in every row:

  • Source: nvd
  • Tags:
Url
https://plugins.trac.wordpress.org/browser/optimole-wp/tags/4.2.17/inc/manager.php#L519
https://plugins.trac.wordpress.org/browser/optimole-wp/tags/4.2.17/inc/rest.php#L1020
https://plugins.trac.wordpress.org/browser/optimole-wp/tags/4.2.17/inc/rest.php#L159
https://plugins.trac.wordpress.org/browser/optimole-wp/tags/4.2.17/inc/tag_replacer.php#L312
https://plugins.trac.wordpress.org/browser/optimole-wp/tags/4.2.17/inc/tag_replacer.php#L529
https://plugins.trac.wordpress.org/changeset?reponame=&old=3784828%40optimole-wp&new=3784828%40optimole-wp
https://www.wordfence.com/threat-intel/vulnerabilities/id/5d60007c-8957-4c46-8c5c-47b7f626f0bb?source=cve

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts