{"id":"CVE-2026-125012","aliases":["CVE-2026-125012"],"related":[],"kind":"vulnerability","state":"published","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","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-11-18T09:29:57.623Z","modified":"2026-11-18T19:17:36.993Z","severity":{"scorer":"Wordfence","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N","score":6.4,"rating":"MEDIUM"},"severities":[{"scorer":"Wordfence","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N","score":6.4,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"type":"semver","introduced":"0","lastAffected":"2.4.16","status":"affected"}],"vendor":"gijo","product":"Flying Images: Optimize and Lazy Load Images for Faster Page Speed","source":"cvelist"}],"references":[{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/db7ae4ed-cbb3-46f5-8eee-600dab8929a1?source=cve","tags":[],"sources":["cvelist","nvd"]},{"url":"https://plugins.trac.wordpress.org/browser/nazy-load/tags/2.4.16/html-rewrite.php#L227","tags":[],"sources":["cvelist","nvd"]},{"url":"https://plugins.trac.wordpress.org/browser/nazy-load/tags/2.4.16/lib/dom-parser.php#L998","tags":[],"sources":["cvelist","nvd"]},{"url":"https://plugins.trac.wordpress.org/browser/nazy-load/tags/2.4.16/lib/dom-parser.php#L491","tags":[],"sources":["cvelist","nvd"]},{"url":"https://plugins.trac.wordpress.org/browser/nazy-load/tags/2.4.16/lib/dom-parser.php#L2050","tags":[],"sources":["cvelist","nvd"]},{"url":"https://plugins.trac.wordpress.org/browser/nazy-load/tags/2.4.16/html-rewrite.php#L394","tags":[],"sources":["cvelist","nvd"]},{"url":"https://plugins.trac.wordpress.org/changeset/3804448/nazy-load","tags":[],"sources":["cvelist","nvd"]},{"url":"https://plugins.trac.wordpress.org/changeset?reponame=&new=3804448%40nazy-load%2Ftags%2F2.4.17&old=3783390%40nazy-load%2Ftags%2F2.4.16","tags":[],"sources":["cvelist","nvd"]}],"credits":["Wordfence PRISM"],"assigner":"Wordfence","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-18T18:19:57.082Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-125012","url":"https://www.cve.org/CVERecord?id=CVE-2026-125012","licence":"CVE Terms of Use","modified":"2026-11-18T18:20:08.001Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-125012","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-125012","licence":"Public domain","modified":"2026-11-18T19:17:36.993Z"}],"updatedAt":"2026-11-25T22:59:51.775Z","epss":{"score":0.00258,"percentile":0.18605,"date":"2026-12-01T12:00:22.000Z"}}