Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-2430: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in optimizingmatters Autoptimize

0
Medium
VulnerabilityCVE-2026-2430cvecve-2026-2430cwe-79
Published: Fri Mar 20 2026 (03/20/2026, 23:25:14 UTC)
Source: CVE Database V5
Vendor/Project: optimizingmatters
Product: Autoptimize

Description

The Autoptimize plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the lazy-loading image processing in all versions up to, and including, 3.1.14. This is due to the use of an overly permissive regular expression in the `add_lazyload` function that replaces all occurrences of `\ssrc=` in image tags without limiting to the actual attribute. This makes it possible for authenticated attackers, with Contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page by crafting an image tag where the `src` URL contains a space followed by `src=`, causing the regex to break the HTML structure and promote text inside attribute values into executable HTML attributes.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/09/2026, 11:29:14 UTC

Technical Analysis

CVE-2026-2430 is a stored cross-site scripting vulnerability in the Autoptimize WordPress plugin affecting all versions up to 3.1.14. The issue stems from a flawed regular expression in the add_lazyload function that replaces all instances of ' src=' in image tags without properly restricting to the actual attribute. An attacker with Contributor-level or higher privileges can craft an image tag with a src URL containing a space followed by 'src=', breaking the HTML structure and enabling injection of arbitrary executable scripts. This vulnerability allows persistent script injection that triggers whenever the compromised page is accessed.

Potential Impact

An authenticated attacker with Contributor-level or higher privileges can inject malicious scripts into pages via crafted image tags. These scripts execute in the context of users viewing the page, potentially leading to session hijacking, defacement, or other client-side attacks. The vulnerability does not require user interaction beyond page access and affects the confidentiality and integrity of user sessions. The CVSS 3.1 score of 6.4 reflects a medium severity with network attack vector, low attack complexity, and no user interaction required.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, restrict Contributor-level access to trusted users only to reduce risk. Monitor for plugin updates from optimizingmatters and apply them promptly once available. Avoid relying on this plugin version in environments where untrusted contributors can upload content.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
Wordfence
Date Reserved
2026-02-12T21:12:58.849Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 69bdda56b462d409683a8bd8

Added to database: 3/20/2026, 11:37:58 PM

Last enriched: 4/9/2026, 11:29:14 AM

Last updated: 5/1/2026, 12:19:21 PM

Views: 44

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses