Plugins · wp-coder · data as of 2026-11-29
Is WP Coder safe? Known vulnerabilities and latest version
- Latest version
- 5.0.2
- Last updated
- 2026-11-16
- Active installs
- 10,000+
- Known issues on record
- 7
- Unpatched in latest
- 0
- Tested up to WP
- 7.1.4 · PHP 7.4+
Add code snippets, header & footer scripts and custom HTML, CSS, JS & PHP — site-wide or by shortcode and block, no theme edits. — by Wow-Company
What to do
- Update to the latest version (5.0.2). Anything older than 5.0.1 has at least one known issue listed below. Dashboard → Updates, or Plugins → “update now”.
- If you cannot update right away, deactivate it until you can.
- Turn on auto-updates for it: Plugins → “Enable auto-updates” on its row.
- If you ran a vulnerable version and something looks off (spam pages, strange admins, redirects), run the free scan. Already hacked? We clean it for a flat $499 with a 30-day reinfection guarantee.
With WP-CLI: wp plugin get wp-coder --field=version shows what you run; wp plugin update wp-coder updates it.
Check your version
Running more than one plugin? Paste your whole plugin list and check them all at once.
Known vulnerabilities
7 on record, newest first. Versions come from the source; * marks the first wordpress.org release after the last affected version.
medium 6.4 CVE-2026-129218 · published 2026-11-18
Stored cross-site scripting (XSS) in WP Coder (5.0 and older)
- Affected
- 5.0 and older
- Fixed in
- 5.0.1 *
- Access needed (per CVSS)
- Needs a low-level account (e.g. subscriber)
- Range from
- CVE record · score by Wordfence
Details from the advisory
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.
high 7.2 CVE-2026-104677 · published 2026-10-07
Remote code execution in WP Coder (4.0 up to (not including) 4.5.2)
- Affected
- 4.0 up to (not including) 4.5.2
- Fixed in
- 4.5.2
- Access needed (per CVSS)
- Needs an admin-level account
- Range from
- CVE record · score by CISA ADP
Details from the advisory
The WP Coder WordPress plugin before 4.5.2 does not restrict access to its PHP code-execution feature to administrators, gating it on a content capability that the Editor role holds by default, which allows Editor-level users to save and execute arbitrary PHP code on the server and fully compromise the site.
high 7.1 CVE-2025-24699 · published 2025-02-14
Cross-site request forgery (CSRF) in WP Coder (3.6 and older)
- Affected
- 3.6 and older
- Fixed in
- 3.6.1
- Access needed (per CVSS)
- No login needed; someone on the site has to click a link or open a page
- Range from
- CVE record · score by Patchstack
Details from the advisory
Cross-Site Request Forgery (CSRF) vulnerability in Wow-Company WP Coder wp-coder allows Cross-Site Scripting (XSS).This issue affects WP Coder: from n/a through <= 3.6.
medium 4.8 CVE-2024-2578 · published 2024-03-21
Stored cross-site scripting (XSS) in WP Coder (3.5 and older)
- Affected
- 3.5 and older
- Fixed in
- 3.5.1
- Access needed (per CVSS)
- Needs an admin-level account; someone on the site has to click a link or open a page
- Range from
- CVE record · score by NVD
Details from the advisory
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in WPCoder WP Coder allows Stored XSS.This issue affects WP Coder: from n/a through 3.5.
medium 4.9 CVE-2023-0895 · published 2023-02-17
SQL injection in WP Coder (2.5.3 and older)
- Affected
- 2.5.3 and older
- Fixed in
- 2.5.4 *
- Access needed (per CVSS)
- Needs an admin-level account
- Range from
- CVE record · score by NVD
Details from the advisory
The WP Coder – add custom html, css and js code plugin for WordPress is vulnerable to time-based SQL Injection via the ‘id’ parameter in versions up to, and including, 2.5.3 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for authenticated attackers with administrative privileges to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database.
medium 6.5 CVE-2022-2388 · published 2022-08-22
Cross-site request forgery (CSRF) in WP Coder (older than 2.5.3)
- Affected
- older than 2.5.3
- Fixed in
- 2.5.3
- Access needed (per CVSS)
- No login needed; someone on the site has to click a link or open a page
- Range from
- NVD analysis · score by NVD
Details from the advisory
The WP Coder WordPress plugin before 2.5.3 does not have CSRF check in place when deleting code created by the plugin, which could allow attackers to make a logged in admin delete arbitrary ones via a CSRF attack
high 8.8 CVE-2021-25053 · published 2022-01-10
Cross-site request forgery (CSRF) in WP Coder (older than 2.5.2)
- Affected
- older than 2.5.2
- Fixed in
- 2.5.2
- Access needed (per CVSS)
- No login needed; someone on the site has to click a link or open a page
- Range from
- NVD analysis · score by NVD
Details from the advisory
The WP Coder WordPress plugin before 2.5.2 within the wow-company admin menu page allows to include() arbitrary file with PHP extension (as well as with data:// or http:// protocols), thus leading to CSRF RCE.
Recent activity
- 2026-11-16 — latest release on wordpress.org (5.0.2).
- 2026-11-18 — Stored cross-site scripting (XSS) disclosed (CVE-2026-129218), fixed in 5.0.1.
- 2026-10-07 — Remote code execution disclosed (CVE-2026-104677), fixed in 4.5.2.
- 2025-02-14 — Cross-site request forgery (CSRF) disclosed (CVE-2025-24699), fixed in 3.6.1.
Get an email when WP Coder has a new vulnerability
Free. One email when a new WP Coder issue is published or a fix ships. Unsubscribe in one click.
Browse vulnerabilities
- Published this week
- Unpatched in the latest version
- By type of vulnerability
- Closed on wordpress.org
- Check your whole plugin list
- Plugins by Wow-Company (4 tracked)
Types found in this plugin: Cross-site request forgery (CSRF) (3) · Cross-site scripting (XSS) (2) · Remote code execution (1) · SQL injection (1)
Questions about WP Coder
Is WP Coder safe to use?
No known unpatched vulnerabilities in the latest version (5.0.2). As of 2026-11-29. 7 issues are on record for older versions; version 5.0.1 or newer fixes all of them that state a fix. Laskyr does not give safety verdicts. Keep WP Coder on the latest version (5.0.2) and remove it if you do not use it.
Which versions of WP Coder are vulnerable?
Known issues on record (newest first): Stored cross-site scripting (XSS) (5.0 and older, fixed in 5.0.1); Remote code execution (4.0 up to (not including) 4.5.2, fixed in 4.5.2); Cross-site request forgery (CSRF) (3.6 and older, fixed in 3.6.1); Stored cross-site scripting (XSS) (3.5 and older, fixed in 3.5.1); SQL injection (2.5.3 and older, fixed in 2.5.4); Cross-site request forgery (CSRF) (older than 2.5.3, fixed in 2.5.3). The full list with sources is on this page.
What is the latest version of WP Coder?
5.0.2, according to wordpress.org (last updated 2026-11-16). It has 10,000+ active installs.
What should I do if my WP Coder is out of date?
Take a backup, then update it from Dashboard > Updates (or run wp plugin update wp-coder). If you cannot update right away, deactivate it until you can. If you think the site was already attacked, run a free scan at https://laskyr.com/scan.
Where this data comes from
- Version, last update, installs: wordpress.org/plugins/wp-coder (Plugins API), fetched 2026-11-18.
- Vulnerabilities: NIST National Vulnerability Database (NVD), checked 2026-11-29. This product uses data from the NVD API but is not endorsed or certified by the NVD.
- We list a CVE only when its references or advisory name this exact plugin, so a few real issues may be missing. Spot an error? Email Daniel.
Badge for your site or docs (states facts with a date, not a verdict):
<a href="https://laskyr.com/plugins/wp-coder"><img src="https://laskyr.com/plugins/wp-coder/badge.svg" alt="WP Coder vulnerability status"></a>