← News

Optimole plugin: stored cross-site scripting

HighAI-generated2026-11-07

CVE
CVE-2026-120677
Severity
High (CVSS 7.2)
Attack conditions
Remotely, over the network · No account needed · No user action needed
Exploitation probability (EPSS)
0.2% (within 30 days; FIRST EPSS, 12 November 2026)

Summary

All versions of the Optimole image-optimization plugin for WordPress up to 4.2.18 are vulnerable to stored cross-site scripting. Unauthenticated attackers can inject malicious scripts through the comment field.

Details

According to the NVD record, the Optimole - Optimize Images plugin for WordPress is vulnerable to stored cross-site scripting in every version up to and including 4.2.18. The flaw stems from insufficient input sanitisation and output escaping of the 'comment' parameter, and it requires an administrator to approve the comment and the post to contain at least one iframe or video element.

An attacker can place arbitrary web scripts in the comment, which will run whenever a user views the compromised page. This could allow theft of credentials, session hijacking, or other malicious actions on the victim's browser.

What to do

The source record does not name a specific patch, fixed version or workaround. General measures:

  • Follow the vendor's security advisories.
  • Apply the update when it is released.
  • Limit access to the product as much as possible, especially from the internet.

Sources

Timeline

  • 7 November 2026 This article was written
  • 7 November 2026 NVD record published