Vulnerability · Published Feb 17, 2023 · Assigned by Wordfence

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

High 7.2

In plain English

A high-severity SQL injection in WP Coder – Insert & Manage Code Snippets from wpcalc. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.8% (higher than 57% of all known vulnerabilities).

Severity (CVSS 3.1)7.2High
Exploit odds (30 days)0.8%top 43.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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.

Affected products (as reported)

VendorProductVersions
wpcalc WP Coder – Insert & Manage Code Snippets 0 – through 2.5.3

Weakness: CWE-89 · Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

References