CVE-2026-129218: WP Coder – Insert & Manage Code Snippets - Stored XSS
- Cve: CVE-2026-129218
- Name: WP Coder – Insert & Manage Code Snippets - Stored XSS
- 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.
- Impact: Authenticated attackers can inject arbitrary web scripts that execute when users access the injected page, potentially leading to session hijacking or data theft.
- Remediation: Update to the latest version of the WP Coder plugin.
- Vulnerability type: stored_xss
- Vulnerability impact: client_script_exec
- Requirement type: logged_in
- Requirements: Attacker needs author-level access and an admin-authored image-type snippet to exist.
- Labels source: securitycontext
- Severity: medium
- 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
- Epss score: 0.00334
- Epss percentile: 0.27013
- Assignee: [email protected]
- Published at: 2026-11-18T12:17:05Z
- Age in days: 6
- Modified at: 2026-11-18T19:17:40Z
- References total: 8
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-129218
- Nvd status: deferred
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation |
References
Same in every row:
- Source: nvd
- Tags:
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| wow-company:wp_coder | <= 5.0 | no | cna_alias | /v1/products/wow-company/wp_coder |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Authentication required: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts