{"vuln_id":"CVE-2026-129218","aliases":[],"description":"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.","published_at":"2026-11-18T12:17:05.300000Z","modified_at":"2026-11-18T19:17:40.730000Z","first_seen_at":"2026-11-21T19:15:49.937349Z","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.00334,"epss_percentile":0.27262,"nvd_status":"Deferred","enriched_at":null,"links":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-129218"},"matched_alias":null,"items":[{"id":7737,"source":{"id":"nvd","name":"NVD CVE API 2.0"},"title":"CVE-2026-129218: 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_attachme…","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.\n\nReferences:\nhttps://plugins.trac.wordpress.org/browser/wp-coder/tags/5.0.1\nhttps://plugins.trac.wordpress.org/browser/wp-coder/tags/5.0/classes/Publisher/Placeholders.php#L48\nhttps://plugins.trac.wordpress.org/browser/wp-coder/tags/5.0/includes/class-wowp-public.php#L186\nhttps://plugins.trac.wordpress.org/browser/wp-coder/tags/5.0/includes/class-wowp-public.php#L235\nhttps://plugins.trac.wordpress.org/browser/wp-coder/tags/5.0/includes/class-wowp-public.php#L280\nhttps://plugins.trac.wordpress.org/browser/wp-coder/tags/5.0/includes/class-wowp-public.php#L477\nhttps://plugins.trac.wordpress.org/browser/wp-coder/tags/5.0/includes/class-wowp-public.php#L71\nhttps://www.wordfence.com/threat-intel/vulnerabilities/id/cc613a97-5f8b-457f-945a-43f440d39491?source=cve","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-129218","published_at":"2026-11-18T12:17:05.300000Z","updated_at":"2026-11-18T19:17:40.730000Z","fetched_at":"2026-11-21T19:15:31.483604Z","severity":"medium","cvss_score":6.4,"epss":0.00334,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":"wordpress","product":null,"vuln_id":"CVE-2026-129218","vuln_ids":["CVE-2026-129218"],"tags":["CWE-79"],"cluster_id":8161,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/7737","html":"https://vulnwatch.ve1ve2.com/item/7737"}}]}