Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain contributor-level account
-
DeliveryAuthor page with kses-legal image payload
-
ExploitPlugin rewrite overwrites data-src with unescaped src
-
ExecutionScript executes in viewer's browser
-
ImpactHijack 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
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.
Primary rating from Vendor (Wordfence).
CVSS VectorVendor: Wordfence
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
More in Flying Images
View allStored cross-site scripting in the Flying Images WordPress plugin (slug nazy-load, vendor gijo, all versions up to and i
Stored cross-site scripting in the Flying Images WordPress plugin affects versions through 2.4.15 and allows attacker-su
EUVD-2026-128503
GHSA-fpp6-gf4h-hf9r
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB