CVE-2026-125012
Description
The Flying Images: Optimize and Lazy Load Images for Faster Page Speed plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'post_content' parameter in all versions up to, and including, 2.4.16 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. Although wp_kses_post sanitizes post content on save, the payload is kses-legal at save time; the plugin's output-buffer rewrite transforms it into an executable form at render time by overwriting the valueless data-src attribute with the unescaped src value, meaning save-time sanitization provides no effective mitigation.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
2- Range: <=2.4.16
Patches
Vulnerability mechanics
References
8- plugins.trac.wordpress.org/browser/nazy-load/tags/2.4.16/html-rewrite.phpnvd
- plugins.trac.wordpress.org/browser/nazy-load/tags/2.4.16/html-rewrite.phpnvd
- plugins.trac.wordpress.org/browser/nazy-load/tags/2.4.16/lib/dom-parser.phpnvd
- plugins.trac.wordpress.org/browser/nazy-load/tags/2.4.16/lib/dom-parser.phpnvd
- plugins.trac.wordpress.org/browser/nazy-load/tags/2.4.16/lib/dom-parser.phpnvd
- plugins.trac.wordpress.org/changeset/3804448/nazy-loadnvd
- plugins.trac.wordpress.org/changesetnvd
- www.wordfence.com/threat-intel/vulnerabilities/id/db7ae4ed-cbb3-46f5-8eee-600dab8929a1nvd
News mentions
0No linked articles in our index yet.