Technical impact
The WP Coder – Insert & Manage Code Snippets plugin allows an authenticated user with author-level privileges to upload an image via WordPress’ media REST endpoint, set a crafted Alt Text, and then publish a post that embeds the image shortcode. Because the plugin does not properly escape or sanitize the _wp_attachment_image_alt metadata, the payload survives core sanitization and is inserted into the page’s HTML. The result is a stored cross‑site scripting flaw that can execute arbitrary JavaScript in the browsers of any visitor who loads the impacted post.
Affected Systems
WordPress installations that run any version of the WP Coder plugin up to and including 5.0 are affected. The flaw requires that the site hosts an image‑type snippet uploaded through the standard media interface and that the snippet is included in a post via the image‑type shortcode.
Risk and Exploitability
The vulnerability carries a CVSS score of 6.4, indicating a moderate impact. No EPSS score is available, so the current exploitation likelihood cannot be quantified; however, the flaw is not listed in the CISA KEV catalog. The required authenticated attack vector limits exploitation to users with author-level or higher access, but once a malicious Alt Text is stored, the injected script runs in the browsers of any audience who visits the affected page. Potential consequences include defacement, session hijacking, or delivery of further malware to site visitors.