CVE-2026-125012
What it is
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.
At a glance
- Exploitability
- Can be exploited over the network with a low-privilege account. Limited direct impact.
- Fix
- No patch or advisory is linked yet. Look at mitigations or restrict exposure.
Timeline
- ReservedThe CVE id was reserved by its CNA
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: not scored yet.
- Severity: 6.4 MEDIUM (CVSS).
- Fix: none linked yet, which raises it.
Details
- Published
- Last modified
- Weakness
- CWE-79 · Cross-site scripting
- Record status
- Deferred
Affected
- Gijo Flying Images: Optimize And Lazy Load Images For Faster Page Speed ≤ 2.4.16
Attack profile CVSS 3.1 · 6.4
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
- Scope
- Changed
- Confidentiality
- Low
- Integrity
- Low
- Availability
- None
Raw vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2026-125012.md and follow it. Check whether this project is affected by CVE-2026-125012. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
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