LiveActive security incident?Get immediate response
CVE Record

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

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.

HighCVSS 7.2Not KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

CVE-2023-0895 affects the WordPress WP Coder plugin through version 2.5.3. An authenticated administrator could abuse a database query flaw to access or alter sensitive site data. The requirement for admin privileges lowers broad internet exposure, but compromise of an admin account could make impact severe.

Executive priority

Treat as high priority on sites using the plugin, especially business-critical WordPress properties. The flaw needs administrator access, but the potential database impact is broad once that access exists.

Technical view

The plugin is vulnerable to time-based SQL injection through the id parameter because user input was insufficiently escaped and the SQL query was not sufficiently prepared. The CVSS 3.1 score is 7.2 with high confidentiality, integrity, and availability impact. CWE-89 applies.

Likely exposure

Exposure is likely limited to WordPress sites running WP Coder versions up to and including 2.5.3, especially where administrator accounts are shared, weakly protected, or already compromised.

Exploitation context

The source bundle does not show CISA KEV listing or cited evidence of active exploitation. Abuse requires authenticated administrator privileges, so this is mainly a post-authentication or compromised-admin risk rather than unauthenticated mass exploitation.

Researcher notes

Key unknowns remain in the provided bundle: no explicit fixed version is stated, and no exploitation evidence is provided. Researchers should focus on version confirmation, code-path review around id handling, and remediation verification without assuming unauthenticated reachability.

Mitigation direction

  • Identify WordPress sites using WP Coder versions up to 2.5.3.
  • Check vendor or WordPress plugin guidance for a fixed release.
  • Update, disable, or remove vulnerable plugin versions based on vendor guidance.
  • Restrict administrator access to trusted users with strong authentication.
  • Review administrator activity for unusual plugin or database-related actions.

Validation and detection

  • Inventory installed WordPress plugins and record WP Coder versions.
  • Confirm vulnerable versions are updated, disabled, or removed.
  • Review administrator accounts for unauthorized or unnecessary access.
  • Check web, WordPress, and database logs for suspicious admin activity.
  • Verify backups exist before plugin remediation changes.
Prepared
Confidence
high
Sources
4

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · medium confidence lookup

CWE-89: Database access and collection lookup

Injection into data stores can inform collection, data access, and exfiltration detection reviews. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
description · low confidence lookup

Database behavior lookup

The CVE wording references database injection or access, so collection and exfiltration review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2023-0895 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
High
CVSS
7.2 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
4Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
7.2CVSS 3.1HighCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H1.25.9Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

7.2High
CVSS 3.1 vector shape for CVE-2023-0895Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
wpcalcWP Coder – Insert & Manage Code Snippets0unaffected
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-89 · source CWE mapping

Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.