Skip to content
Threat Brief

← All advisories

CVE-2026-129218

Medium 6.4No known exploitationFix status unknown

WP 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

6.4

Medium on a 0 to 10 scale

EPSS, chance of exploitation in 30 days

0.3%

Higher than 27% of scored CVEs. A prediction, not evidence.

CISA remediation deadline

None

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

VendorProductAffected versionsFixed inPer
wpcalcWP Coder – Insert & Manage Code Snippetsall versions up to and including 5.0Not documentedCVE Program

Timeline

  1. Disclosure

    CVE record published by Wordfence

    Source: CVE Program (opens in a new tab)

Vendor guidance and references