Vulnerability · Published Mar 22, 2025 · Assigned by Wordfence
CVE-2025-2478Code Clone <= 0.9 - Authenticated (Administrator+) SQL Injection via snippetId Parameter
Medium 4.9
In plain English
A medium-severity SQL injection in Code Clone from allhart. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 34% of all known vulnerabilities).
Official description
The Code Clone plugin for WordPress is vulnerable to time-based SQL Injection via the ‘snippetId’ parameter in all versions up to, and including, 0.9 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 Administrator-level access and above, to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| allhart | Code Clone | 0 – through 0.9 |
Weakness: CWE-89 · Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N