Skip to main content

Flying Images EUVDEUVD-2026-128503

| CVE-2026-125012 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-11-18 Wordfence GHSA-fpp6-gf4h-hf9r
6.4
CVSS 3.1 · Vendor: Wordfence
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain contributor-level account
  2. Delivery
    Author page with kses-legal image payload
  3. Exploit
    Plugin rewrite overwrites data-src with unescaped src
  4. Execution
    Script executes in viewer's browser
  5. Impact
    Hijack admin session / act in victim context

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires an authenticated WordPress account with contributor-level privileges or above (PR:L), on a site running Flying Images 2.4.16 or earlier with the plugin's HTML output-buffer rewrite active (its default lazy-load behavior). The specific trigger is the plugin overwriting the valueless data-src attribute with the unescaped src value at render time, which converts a wp_kses_post-legal post_content payload into executable script - standard save-time sanitization does NOT limit this. Limiting factors: the attacker must already possess a contributor+ account (so sites that do not grant untrusted users authoring access are not exposed to anonymous attackers), and the script executes only when a user actually views the injected page. No end-user click beyond page viewing is needed (UI:N).

Impact

This is a moderate-severity stored XSS (CVSS 6.4, CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N) whose real-world urgency is tempered by its authentication requirement. The CVSS vector is network-reachable with low complexity and no user interaction, but PR:L means the attacker must already hold a contributor-level (or higher) WordPress account, so this is a privilege-escalation/account-abuse scenario rather than a pre-auth internet-wide threat. The scope change (S:C) correctly reflects that the injected script executes in the browsers of other users (including visitors and higher-privileged admins) who view the poisoned page. No EPSS score, no CISA KEV listing, and no verified exploit code are present in the input; the vuln.today decision label is 'this_month' (not act_now/emergency), consistent with a real but non-emergency fix priority. The notable technical nuance, confirmed by the description and the vendor source references, is that save-time wp_kses_post sanitization provides NO effective mitigation: the payload is kses-legal when stored and only becomes executable when the plugin's output-buffer rewrite overwrites the valueless data-src attribute with the unescaped src value at render time - so defenders cannot rely on standard WordPress content sanitization here. Overall: a genuine priority for sites that allow untrusted contributor accounts, but lower urgency for closed-authorship sites. EPSS and POC status are MISSING from the input and should not be treated as either present or absent.

Exploit ScenarioDerived

An attacker holding a contributor-level WordPress account authors a page containing an image markup payload that is legal under wp_kses_post at save time. When any user - including an administrator - later views that page, the plugin's HTML output-buffer rewrite overwrites the valueless data-src attribute with the unescaped src value, turning the stored content into executable JavaScript in the victim's browser. No separate exploit code is identified in the provided data; the Wordfence and WordPress trac source/changeset references document the flaw and fix, not a weaponized PoC.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 18, 2026

Stored cross-site scripting in the Flying Images WordPress plugin (slug nazy-load) through version 2.4.16 lets an authenticated attacker holding contributor-level access or above plant script that executes when any user views the injected page. The payload is legal HTML at save time - wp_kses_post does not strip it - because the plugin's output-buffer lazy-load rewrite replaces the valueless data-src attribute with the raw src value during rendering, converting the stored markup into executable form. Rated CVSS 6.4 (AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N); no public exploit code or CISA KEV entry is identified in the available data, and the authentication prerequisite (a contributor+ account) tempers urgency for sites that do not hand authoring rights to untrusted users.

RemediationAI

Vendor-released patch: Flying Images 2.4.17, published as changeset 3804448 (https://plugins.trac.wordpress.org/changeset/3804448/nazy-load, diff from tag 2.4.16 to 2.4.17 at https://plugins.trac.wordpress.org/changeset?reponame=&new=3804448%40nazy-load%2Ftags%2F2.4.17&old=3783390%40nazy-load%2Ftags%2F2.4.16). Update the plugin to 2.4.17 or later through the WordPress admin or wp-cli; no configuration toggle is documented as a substitute, and disabling the lazy-load output-buffer rewrite would remove the vulnerable render path at the cost of losing the plugin's core performance feature. Because the payload survives wp_kses_post at save time, content re-sanitization or re-saving affected posts is not a reliable cleanup - previously stored payloads must be treated as suspect until the plugin is updated and stored post_content reviewed. Since exploitation requires a contributor-or-higher account, auditing and tightening who holds contributor/author roles reduces exposure to the class of attacker this CVE describes.

Affected VersionsENISA

Flying Images: Optimize and Lazy Load Images for Faster Page Speed 0 ≤2.4.16

Affected Packages

euvd flying_images_optimize_and_lazy_load_images_for_faster_page_speed no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Flying Images is a WordPress performance plugin that rewrites the rendered page through an output buffer to inject lazy-loading markup. Two components are implicated by the referenced source: html-rewrite.php, which performs the attribute substitution on the buffered HTML, and lib/dom-parser.php, the plugin's bundled DOM parsing routines. The root cause is CWE-79 (improper neutralization of input during web page generation), specifically a render-time transformation that breaks the guarantee WordPress core provides at save time: post_content is filtered by wp_kses_post when stored, and the crafted attribute payload passes that filter cleanly. At render, the rewrite overwrites the valueless data-src attribute with the unescaped src value, so the kses-legal markup becomes executable script in the delivered page. Because the mutation happens outside the sanitization layer, plugins and themes relying on WordPress's standard save-time kses defense get no protection here; the trust boundary that matters is the output-buffer rewrite path, which is the plugin's default lazy-load behavior.

Know when Flying Images gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (Wordfence) PRIMARY 6.4 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
vuln.today AI 6.4 MEDIUM

Contributor authentication required (PR:L); no victim interaction beyond viewing (UI:N); stored script crosses into other users' browser context (S:C) with limited confidentiality/integrity and no availability impact.

3.1 AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (Wordfence).

CVSS VectorVendor: Wordfence

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.3%
Top 82% exploitable
Prevalence
Medium
common WordPress image-optimization plugin, moderate but not universal install base
Social Media
1
Sightings
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy