All vulnerabilities

WordPress plugins

CVE-2026-129218

WP Coder <= 5.0 - Authenticated (Author+) Stored Cross-Site Scripting via '_wp_attachment_image_alt' Attachment Meta via Image-type Shortcode Attribute

Severity
Medium 6.4
Published
18 Nov 2026
Last changed
18 Nov 2026
Added to UpHeron
18 Nov 2026
Exploit chance
0.3% in the next 30 daysHigher than 27% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
Cross-site scripting (CWE-79)
Attack
Over the network · Needs a user account · No user action needed
Attacker can
Read some data · Change some data
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Sources
CVE Program

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.

From the CVE Program.

Affected software

SoftwareAffected versions
WP Coder (WordPress plugin)WordPress plugins · wp-plugin:wp-coder
  • Every version up to 5.0

About WP Coder – Insert & Manage Code Snippets

Add code snippets, header & footer scripts and custom HTML, CSS, JS & PHP — site-wide or by shortcode and block, no theme edits.

From its WordPress.org page.
Active installations
10,000+WordPress.org, 18 Nov 2026
Latest version
5.0.2WordPress.org, 18 Nov 2026
Last updated
16 Nov 2026WordPress.org
Rating
4.9 out of 5 (32 ratings)WordPress.org, 18 Nov 2026
Requires WordPress
5.3WordPress.org
Requires PHP
7.4WordPress.org
Tested up to WordPress
7.1.4WordPress.org
Author
Wow-CompanyWordPress.org
In the directory since
2 Feb 2018WordPress.org

This is the only vulnerability in WP Coder – Insert & Manage Code Snippets in our list.

References

  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-129218