CVE-2026-129218
Medium 6.4No known exploitationFix status unknownWP Coder <= 5.0 - Authenticated (Author+) Stored Cross-Site Scripting via '_wp_attachment_image_alt' Attachment Meta via Image-type Shortcode Attribute
Record last updated
CVSS score
Medium on a 0 to 10 scale
EPSS, chance of exploitation in 30 days
Higher than 27% of scored CVEs. A prediction, not evidence.
CISA remediation deadline
Not in the KEV catalog
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.
Weakness: CWE-79
Patching and mitigation
- Patch status
- Unknown: no source documents a fix
- Mitigation
- None documented
- Vendor guidance
- No vendor link on record
Affected products
| Vendor | Product | Affected versions | Fixed in | Per |
|---|---|---|---|---|
| wpcalc | WP Coder – Insert & Manage Code Snippets | all versions up to and including 5.0 | Not documented | CVE Program |
Timeline
Disclosure
CVE record published by Wordfence
Source: CVE Program (opens in a new tab)
Vendor guidance and references
- https://plugins.trac.wordpress.org/browser/wp-coder/tags/5.0.1 (opens in a new tab)
- https://plugins.trac.wordpress.org/browser/wp-coder/tags/5.0/classes/Publisher/Placeholders.php (opens in a new tab)
- https://plugins.trac.wordpress.org/browser/wp-coder/tags/5.0/includes/class-wowp-public.php (opens in a new tab)
- https://www.wordfence.com/threat-intel/vulnerabilities/id/cc613a97-5f8b-457f-945a-43f440d39491?source=cve (opens in a new tab)