{"vuln_id":"CVE-2026-125012","aliases":[],"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.","published_at":"2026-11-18T10:16:53.943000Z","modified_at":"2026-11-18T19:17:36.993000Z","first_seen_at":"2026-11-21T19:15:49.919836Z","severity":"medium","severity_source":"nvd","cvss_score":6.4,"cvss_vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N","cwe":["CWE-79"],"vendor":null,"product":null,"kev":{"is_kev":false,"date_added":null,"due_date":null,"ransomware":false},"epss":0.00258,"epss_percentile":0.17562,"nvd_status":"Deferred","enriched_at":null,"links":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-125012"},"matched_alias":null,"items":[{"id":7694,"source":{"id":"nvd","name":"NVD CVE API 2.0"},"title":"CVE-2026-125012: 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'…","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.\n\nReferences:\nhttps://plugins.trac.wordpress.org/browser/nazy-load/tags/2.4.16/html-rewrite.php#L227\nhttps://plugins.trac.wordpress.org/browser/nazy-load/tags/2.4.16/html-rewrite.php#L394\nhttps://plugins.trac.wordpress.org/browser/nazy-load/tags/2.4.16/lib/dom-parser.php#L2050\nhttps://plugins.trac.wordpress.org/browser/nazy-load/tags/2.4.16/lib/dom-parser.php#L491\nhttps://plugins.trac.wordpress.org/browser/nazy-load/tags/2.4.16/lib/dom-parser.php#L998\nhttps://plugins.trac.wordpress.org/changeset/3804448/nazy-load\nhttps://plugins.trac.wordpress.org/changeset?reponame=&new=3804448%40nazy-load%2Ftags%2F2.4.17&old=3783390%40nazy-load%2Ftags%2F2.4.16\nhttps://www.wordfence.com/threat-intel/vulnerabilities/id/db7ae4ed-cbb3-46f5-8eee-600dab8929a1?source=cve","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-125012","published_at":"2026-11-18T10:16:53.943000Z","updated_at":"2026-11-18T19:17:36.993000Z","fetched_at":"2026-11-21T19:15:31.483569Z","severity":"medium","cvss_score":6.4,"epss":0.00258,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":"wordpress","product":null,"vuln_id":"CVE-2026-125012","vuln_ids":["CVE-2026-125012"],"tags":["CWE-79"],"cluster_id":8118,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/7694","html":"https://vulnwatch.ve1ve2.com/item/7694"}}]}