CVE-2026-125012

Flying Images: Optimize and Lazy Load Images for Faster Page Speed <= 2.4.16 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'post_content' Parameter

Published Nov 18, 2026 CVSS 3.1 · 6.4 Medium EPSS n/a KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The Flying Images: Optimize and Lazy Load Images for Faster Page Speed plugin contains a stored cross‑site scripting flaw that originates from insufficient sanitization of the post_content field. When an authenticated user with contributor role or higher saves content, the plugin’s output‑buffer rewrite replaces the data‑src attribute with the raw src value, turning a kses‑legal payload into executable JavaScript at render time. This allows malicious scripts to persist in the database and run whenever a visitor loads the affected page.

Affected Systems

WordPress sites that have installed the Flying Images plugin (vendor gijo) in any version up to 2.4.16 are affected. Sites that permit contributors or higher to edit posts can be targeted by attackers who can inject scripts into post content; administrators also meet that condition, so sites that restrict editing to administrators only are also vulnerable.

Risk and Exploitability

The CVSS score of 6.4 indicates moderate severity; the EPSS score is not available and the vulnerability is not listed in the CISA KEV catalog, suggesting a low to moderate exploitation probability. Attackers must authenticate as a contributor or higher, but once a payload is stored it will execute for every visitor to the site, enabling cookie theft, phishing, defacement or other client‑side attacks. No server‑side privilege escalation or remote code execution is possible.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Flying Images to version 2.4.17 or later to apply the vendor patch that removes the rewrite flaw.
  • If an immediate upgrade is not possible, revoke or reduce the contributor role on sites that use the plugin to prevent authenticated content injection.
  • Disable the plugin’s output rewrite or lazy‑load image feature by applying a custom filter or deactivating the plugin until the issue is resolved.

Generated by OpenCVE AI on November 19, 2026 at 03:19 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Gijo
Gijo flying Images: Optimize And Lazy Load Images For Faster Page Speed
Wordpress-extensions
Wordpress-extensions flying Images: Optimize And Lazy Load Images For Faster Page Speed
Vendors & Products Gijo
Gijo flying Images: Optimize And Lazy Load Images For Faster Page Speed
Wordpress-extensions
Wordpress-extensions flying Images: Optimize And Lazy Load Images For Faster Page Speed
Type Values Removed Values Added
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.
Title Flying Images: Optimize and Lazy Load Images for Faster Page Speed <= 2.4.16 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'post_content' Parameter
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 6.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N'}

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
Wordfence
Published
Updated
Nov 18, 2026, 6:20 PM
Reserved
Nov 9, 2026, 3:49 PM
Status
Deferred
Published
Nov 18, 2026, 10:16 AM
Modified
Nov 18, 2026, 7:17 PM