CVE-2026-125012 Details
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.
A stored cross-site scripting vulnerability has been identified in the Flying Images: Optimize and Lazy Load Images for Faster Page Speed plugin for WordPress, affecting all versions through 2.4.16. The vulnerability arises from inadequate input sanitization and output escaping, allowing authenticated attackers with contributor-level access and above to inject arbitrary scripts into pages. These scripts execute when a user accesses the compromised page. Although the 'wp_kses_post' function sanitizes post content upon saving, the plugin's output-buffer rewrite at render time transforms the payload into an executable script by replacing the unescaped 'data-src' attribute with the 'src' value, rendering the save-time sanitization ineffective.
Users are advised to update the plugin to version 2.4.17 or a newer patched version.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Nov 18, 2026CISA-ADP
Assessed Nov 18, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Flying Images | <= 2.4.16 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 18, 2026 | CVE Modified | CISA-ADP |
| Nov 18, 2026 | New CVE Received | [email protected] |
Volerion