CVE-2023-0895
published high CVSS 3.1 · 7.2WP Coder – add custom html, css and js code <= 2.5.3 - Authenticated (Admin+) SQL Injection
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| wpcalc | — | WP Coder – Insert & Manage Code Snippets0 through 2.5.3 · Other versions: unaffected | Affected | Not stated | Wordfence |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.2 / 10
- Severity
- high
- Provider
- Wordfence · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| wpcalc | WP Coder – Insert & Manage Code Snippets | 0 through 2.5.3 (affected · semver)Default: unaffected | Wordfence · cna |
Weaknesses
1- CWE-89 CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
References
3- https://plugins.trac.wordpress.org/changeset?old=2757782&old_path=wp-coder%2Ftrunk%2Fadmin%2Fpartials%2Finclude-data.php&new=&new_path=wp-coder%2Ftrunk%2Fadmin%2Fpartials%2Finclude-data.php
- https://www.wordfence.com/threat-intel/vulnerabilities/id/e4b6a9cd-4d29-4bd8-afa3-b5d455ad8340
- https://www.wordfence.com/threat-intel/vulnerabilities/id/e4b6a9cd-4d29-4bd8-afa3-b5d455ad8340?source=cve
Provider assertions
3Wordfence · cna
WP Coder – add custom html, css and js code <= 2.5.3 - Authenticated (Admin+) SQL Injection
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- c3e05148fab012aad8a40f532085b55d9a0cad1df0bfce010a7bfead6025b768
- Ingested
- 23 Sep 2026, 08:05:16 UTC
- Source record
- Official CVE record