CVE-2026-2430
Last modified
CVE-2026-2430 is a medium-severity vulnerability rated 6.4/10 on the CVSS scale. 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. EPSS estimates a 0.20% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-2430?
How severe is CVE-2026-2430?
How do I fix CVE-2026-2430?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-24293Null pointer dereference in Windows Ancillary Function Drive…7.8
- CVE-2026-24294Improper authentication in Windows SMB Server allows an auth…7.8
- CVE-2026-24295Concurrent execution using shared resource with improper syn…7
- CVE-2026-24296Concurrent execution using shared resource with improper syn…7
- CVE-2026-24297Concurrent execution using shared resource with improper syn…4.8
- CVE-2026-24299Improper neutralization of special elements used in a comman…5.3
- CVE-2026-24300Azure Front Door Elevation of Privilege Vulnerability9.8
- CVE-2026-24302Improper access control in Azure Arc allows an unauthorized …9.8
- CVE-2026-24303Improper access control in Microsoft Partner Center allows a…9.6
- CVE-2026-24304Improper access control in Azure Resource Manager allows an …9.9
- CVE-2026-24305Azure Entra ID Elevation of Privilege Vulnerability9.8
- CVE-2026-24306Improper access control in Azure Front Door (AFD) allows an …9.8
Are you affected by CVE-2026-2430?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
