CVE-2026-57673: Optimole WordPress plugin unauthenticated XSS

CVE-2026-57673 · Severity: high · CVSS 7.1 · Published 2026-07-02

Optimole is a popular WordPress plugin used for image optimization and content delivery. A security flaw in versions 4.2.7 and earlier allows an unauthenticated attacker to inject malicious scripts into the website. If a site administrator or visitor interacts with a specially crafted link, the attacker could potentially hijack sessions, redirect users to malicious sites, or deface the website.

Technologies: Optimole. Vendors: Optimole.

Quick answers

Is CVE-2026-57673 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-57673 being exploited in the wild.
How severe is CVE-2026-57673?
High severity, with a CVSS score of 7.1, published 2 July 2026.
Which products and versions are affected?
Optimole <= 4.2.7.
Is there a fix for CVE-2026-57673?
A patch was published on 2026-06-30: Version 4.2.8 released Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2026-57673 attacked?
It is attacked over the network, in a software library.
Am I affected by CVE-2026-57673?
Check whether you run Optimole 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

A Cross-Site Scripting (XSS) vulnerability exists in the Optimole plugin for WordPress (versions <= 4.2.7) due to improper neutralization of user-supplied input during web page generation (CWE-79). The vulnerability is unauthenticated, meaning an attacker does not need a login to initiate the attack, though it requires user interaction (typically a privileged user clicking a malicious link). Successful exploitation allows the execution of arbitrary JavaScript in the victim's browser, which can lead to session hijacking or unauthorized actions performed on behalf of the user. The issue is resolved in version 4.2.8.

Affected products

  • Optimole Optimole <= 4.2.7

Timeline

  • 2026-06-21: disclosed: Reported by daroo
  • 2026-06-30: advisory: Patchstack published advisory
  • 2026-07-02: advisory: NVD published CVE-2026-57673
  • 2026-06-30: patched: Version 4.2.8 released

References

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