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.
Weakness
- CWE-79: Improper Neutralization of Input During Web Page Generation
Timeline
- 2026-11-18Published by the CNA09:29 UTC
- 2026-11-18Published in NVD10:16 UTC · 46 minutes after the CNA
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| gijo flying_images:_optimize_and_lazy_load_images_for_faster_page_speed | from 0 through 2.4.16no fix listed | not listed |
References
- https://plugins.trac.wordpress.org/browser/nazy-load/tags/2.4.16/html-rewrite.php#L227
- https://plugins.trac.wordpress.org/browser/nazy-load/tags/2.4.16/html-rewrite.php#L394
- https://plugins.trac.wordpress.org/browser/nazy-load/tags/2.4.16/lib/dom-parser.php#L2050
- https://plugins.trac.wordpress.org/browser/nazy-load/tags/2.4.16/lib/dom-parser.php#L491
- https://plugins.trac.wordpress.org/browser/nazy-load/tags/2.4.16/lib/dom-parser.php#L998
- https://plugins.trac.wordpress.org/changeset/3804448/nazy-load
- https://plugins.trac.wordpress.org/changeset?reponame=&new=3804448%40nazy-load%2Ftags%2F2.4.17&old=3783390%40nazy-load%2Ftags%2F2.4.16
- https://www.wordfence.com/threat-intel/vulnerabilities/id/db7ae4ed-cbb3-46f5-8eee-600dab8929a1?source=cve
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2026-125012'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2026-125012'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2026-125012'curl 'https://api.contrastcyber.com/cve_products/CVE-2026-125012'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).