CVE-2026-120739: Optimole stored cross-site scripting in image optimization plugin

CVE-2026-120739 · Severity: high · CVSS 7.2 · Published 2026-11-07

Optimole is a WordPress plugin that optimizes images and provides CDN delivery to speed up websites. The plugin contains a stored cross-site scripting (XSS) vulnerability that allows unauthenticated attackers to inject malicious scripts into web pages. When legitimate users visit an affected page, the attacker's scripts execute in their browsers, potentially leading to account compromise, data theft, or redirection to malicious sites.

Vendors: Optimole.

Quick answers

Is CVE-2026-120739 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-120739 being exploited in the wild.
How severe is CVE-2026-120739?
High severity, with a CVSS score of 7.2, published 7 November 2026.
Which products and versions are affected?
Optimole – Optimize Images up to and including 4.2.18.
Is there a fix for CVE-2026-120739?
No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
How is CVE-2026-120739 attacked?
It is attacked over the network, in a web application.
Am I affected by CVE-2026-120739?
Check whether you run Optimole – Optimize Images at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

The vulnerability exists in the REST endpoint's handling of the 'missing_srcsets[*][*].s' parameter, which lacks proper input sanitization and output escaping. The HMAC signature required for authorization is exposed in plaintext within the optimoleDataOptimizer JavaScript object on pages with incomplete profiles, rendering authentication checks ineffective. Unauthenticated attackers can exploit this to inject persistent malicious scripts that execute for all users accessing the page.

Affected products

  • Optimole Optimole – Optimize Images up to and including 4.2.18

Timeline

  • 2026-11-07: disclosed

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.