HomeWordPress vulnerabilitiesWP Coder
WP Coder vulnerabilities
WP Coder has 5 known vulnerabilities in this database. The most recent published record is dated 18 Nov 2026.
- Known vulnerabilities
- 5
- Active installs
- 10,000+
- Latest version
- 4.5.2
- Last updated
- 2 Oct 2026
- Most recent
- 18 Nov 2026
No fixed version has been published yet, so consider disabling, removing or replacing the plugin until a safe release is available.
Find it in your WordPress dashboard under Plugins. Severity is based on the CVSS score published with the CVE where one is available.
| Vulnerability | Severity | Affected | Fix | Published |
|---|---|---|---|---|
| Cross-site scripting (XSS) CVE-2026-129218 | Medium 6.4 | Up to 5.0 | No fixed version yet | 4 d ago |
| Remote code execution CVE-2026-104677 | High 7.2 | Before 4.5.2 | Fixed in 4.5.2 | 7 Oct 2026 |
| SQL injection CVE-2023-0895 | High 7.2 | Up to 2.5.3 | Fixed in a later version (latest 4.5.2) | 17 Feb 2023 |
| Cross-site request forgery (CSRF) CVE-2022-2388 | Medium 6.5 | Before 2.5.3 | Fixed in 2.5.3 | 22 Aug 2022 |
| Cross-site request forgery (CSRF) CVE-2021-25053 | High 8.8 | Before 2.5.2 | Fixed in 2.5.2 | 10 Jan 2022 |
Read the published descriptions
- CVE-2026-129218, 18 Nov 2026
- 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. CVE record
- CVE-2026-104677, 7 Oct 2026
- 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. CVE record
- CVE-2023-0895, 17 Feb 2023
- 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. CVE record
- CVE-2022-2388, 22 Aug 2022
- 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 CVE record
- CVE-2021-25053, 10 Jan 2022
- 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. CVE record
What to do if you run WP Coder
If you run WP Coder, open WordPress and check the installed version in Plugins. Compare it with the affected versions in the vulnerability record. If a fixed version is available, take a current backup and update to that version or the latest supported release.
If no fixed version exists, consider disabling and removing the plugin or replacing it with a maintained alternative. After dealing with the affected software, check administrator users, unexpected file changes, redirects, unfamiliar pages and security logs for signs that the site may already have been altered.
Email me about new WP Coder vulnerabilities
Free. We email you when a new vulnerability is published for WP Coder, usually within minutes. Confirm by email; unsubscribe any time.
Focus on your business. We’ll take care of your website.
From everyday updates to ongoing care, we keep your website working.