{"id":"CVE-2026-129218","aliases":["CVE-2026-129218"],"related":[],"kind":"vulnerability","state":"published","title":"WP Coder <= 5.0 - Authenticated (Author+) Stored Cross-Site Scripting via '_wp_attachment_image_alt' Attachment Meta via Image-type Shortcode Attribute","summary":"The WP Coder – Insert & Manage Code Snippets plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'alt_text (WP media REST) → _wp_attachment_image_alt post meta' parameter in all versions up to, and including, 5.0 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with author-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. This requires that an admin-authored image-type snippet exists on the site, as the attacker uploads an image via the standard WordPress media REST endpoint, sets its Alt Text to a double-quote-based payload that survives WordPress core's sanitize_text_field(), and then publishes a post embedding the shortcode.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"The WP Coder – Insert & Manage Code Snippets plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'alt_text (WP media REST) → _wp_attachment_image_alt post meta' parameter in all versions up to, and including, 5.0 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with author-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. This requires that an admin-authored image-type snippet exists on the site, as the attacker uploads an image via the standard WordPress media REST endpoint, sets its Alt Text to a double-quote-based payload that survives WordPress core's sanitize_text_field(), and then publishes a post embedding the shortcode.","source":"cvelist"}],"published":"2026-11-18T11:30:44.584Z","modified":"2026-11-18T19:17:40.730Z","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":"5.0","status":"affected"}],"vendor":"wpcalc","product":"WP Coder – Insert & Manage Code Snippets","source":"cvelist"}],"references":[{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/cc613a97-5f8b-457f-945a-43f440d39491?source=cve","tags":[],"sources":["cvelist","nvd"]},{"url":"https://plugins.trac.wordpress.org/browser/wp-coder/tags/5.0/includes/class-wowp-public.php#L280","tags":[],"sources":["cvelist","nvd"]},{"url":"https://plugins.trac.wordpress.org/browser/wp-coder/tags/5.0/classes/Publisher/Placeholders.php#L48","tags":[],"sources":["cvelist","nvd"]},{"url":"https://plugins.trac.wordpress.org/browser/wp-coder/tags/5.0/includes/class-wowp-public.php#L71","tags":[],"sources":["cvelist","nvd"]},{"url":"https://plugins.trac.wordpress.org/browser/wp-coder/tags/5.0/includes/class-wowp-public.php#L186","tags":[],"sources":["cvelist","nvd"]},{"url":"https://plugins.trac.wordpress.org/browser/wp-coder/tags/5.0/includes/class-wowp-public.php#L235","tags":[],"sources":["cvelist","nvd"]},{"url":"https://plugins.trac.wordpress.org/browser/wp-coder/tags/5.0/includes/class-wowp-public.php#L477","tags":[],"sources":["cvelist","nvd"]},{"url":"https://plugins.trac.wordpress.org/browser/wp-coder/tags/5.0.1","tags":[],"sources":["cvelist","nvd"]}],"credits":["Wordfence PRISM"],"assigner":"Wordfence","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-18T18:24:10.994Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-129218","url":"https://www.cve.org/CVERecord?id=CVE-2026-129218","licence":"CVE Terms of Use","modified":"2026-11-18T18:24:27.537Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-129218","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-129218","licence":"Public domain","modified":"2026-11-18T19:17:40.730Z"}],"updatedAt":"2026-11-25T22:59:51.788Z","epss":{"score":0.00334,"percentile":0.28668,"date":"2026-12-01T12:00:22.000Z"}}