CVE-2026-15421
Description
The Speed Optimizer – The All-In-One Performance-Boosting Plugin plugin for WordPress is vulnerable to Stored Cross-Site Scripting via Image Tag Attributes in all versions up to, and including, 7.8.0 due to insufficient input sanitization and output escaping. 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. This is only exploitable when the site administrator has enabled the Lazy Load Media option in the plugin settings.
Affected WordPress components
-
Speed Optimizer – The All-In-One Performance-Boosting Plugin Plugin · sg-cachepressUp to and including 7.8.0View on WordPress.org
A confirmed match is backed by the plugin or theme slug. A possible match is based on the product name only and should be verified.
Affected products and versions
- siteground Speed Optimizer – The All-In-One Performance-Boosting Plugin — Up to and including 7.8.0
References
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/sg-cachepress/tags/7.7.11/core/Lazy_Load/Abstract_Lazy_Load.php#L109
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/sg-cachepress/tags/7.7.11/core/Lazy_Load/Lazy_Load.php#L39
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/sg-cachepress/tags/7.7.11/core/Lazy_Load/Lazy_Load_Images.php#L31
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/sg-cachepress/tags/7.8.0/core/Lazy_Load/Abstract_Lazy_Load.php#L109
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/sg-cachepress/tags/7.8.0/core/Lazy_Load/Lazy_Load.php#L39
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/sg-cachepress/tags/7.8.0/core/Lazy_Load/Lazy_Load_Images.php#L31
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/changeset?old_path=%2Fsg-cachepress/tags/7.8.0&new_path=%2Fsg-cachepress/tags/7.8.1
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/changeset?reponame=&new=3642965%40sg-cachepress%2Ftags%2F7.8.1&old=3581843%40sg-cachepress%2Ftags%2F7.8.0
- www.wordfence.com https://www.wordfence.com/threat-intel/vulnerabilities/id/2626ad96-4346-4564-b6bd-0c226bd8dfd4?source=cve
- nvd.nist.gov Official NVD record