Technical impact
The Flying Images: Optimize and Lazy Load Images for Faster Page Speed plugin contains a stored cross‑site scripting flaw that originates from insufficient sanitization of the post_content field. When an authenticated user with contributor role or higher saves content, the plugin’s output‑buffer rewrite replaces the data‑src attribute with the raw src value, turning a kses‑legal payload into executable JavaScript at render time. This allows malicious scripts to persist in the database and run whenever a visitor loads the affected page.
Affected Systems
WordPress sites that have installed the Flying Images plugin (vendor gijo) in any version up to 2.4.16 are affected. Sites that permit contributors or higher to edit posts can be targeted by attackers who can inject scripts into post content; administrators also meet that condition, so sites that restrict editing to administrators only are also vulnerable.
Risk and Exploitability
The CVSS score of 6.4 indicates moderate severity; the EPSS score is not available and the vulnerability is not listed in the CISA KEV catalog, suggesting a low to moderate exploitation probability. Attackers must authenticate as a contributor or higher, but once a payload is stored it will execute for every visitor to the site, enabling cookie theft, phishing, defacement or other client‑side attacks. No server‑side privilege escalation or remote code execution is possible.