WP Coder – add custom html, css and js code <= 2.5.3 - Authenticated (Admin+) SQL Injection

7.2
Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
CVE CVE-2023-0895
CVSS 7.2 (High)
Publicly Published February 17, 2023
Last Updated January 22, 2024
Researcher Etan Imanol Castro Aldrete

Description

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.

Learn more about SQL Injection vulnerabilities and how to prevent them.

References

Share

Vulnerability Details for WP Coder – Insert & Manage Code Snippets

Software Type Plugin
Software Slug wp-coder (view on wordpress.org)
Patched? Yes
Remediation Update to version 2.5.4, or a newer patched version
Affected Version
  • <= 2.5.3
Patched Version
  • 2.5.4

Recent vulnerabilities in WP Coder – Insert & Manage Code Snippets

# Title CVE ID CVSS Researchers Date
1 WP Coder – Code Snippets + HTML, CSS, JS and PHP Injection <= 3.6.0 - Cross-Site Request Forgery to Stored Cross-Site Scripting CVE-2025-24699 6.1 0xd4rk5id3 January 31, 2025
2 WP Coder <= 3.5 - Authenticated (Editor+) Stored Cross-Site Scripting CVE-2024-2578 4.4 Hoa Le Ngoc (lengochoa) March 18, 2024
3 Multiple Wow-Company Plugins (Various Versions) -- Reflected Cross-Site Scripting via 'page' parameter CVE-2023-2362 6.1 Erwan LR May 22, 2023
4 WP Coder <= 2.5.2 - Cross-Site Request Forgery CVE-2022-2388 8.8 Krzysztof Zając July 26, 2022
5 WP Coder <= 2.5.1 - Remote File Inclusion leading to Remote Code Execution via Cross-Site Request Forgery CVE-2021-25053 8.8 Krzysztof Zając December 5, 2021

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.

Documentation