CVE-2025-2478
JSON

4.9medium

Code Clone <= 0.9 - Authenticated (Administrator+) SQL Injection via snippetId Parameter

Severity
4.9medium CVSS:3.1 by Wordfence
Exploit likelihood
0.73% (higher than 50% of CVEs)
Published
Last changed
Assigned by
Wordfence

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

Product or packageVersionsReported by
allhart Code Cloneup to 0.9CVE List

Classification

CWE-89

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

El complemento Code Clone para WordPress es vulnerable a la inyección SQL basada en tiempo mediante el parámetro 'snippetId' en todas las versiones hasta la 0.9 incluida, debido a un escape insuficiente del parámetro proporcionado por el usuario y a la falta de preparación de la consulta SQL existente. Esto permite a atacantes autenticados, con acceso de administrador o superior, añadir consultas SQL adicionales a las consultas existentes, que pueden utilizarse para extraer información confidencial de la base de datos.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-2478 changed 2026-04-08CVE Terms of Use
NVDCVE-2025-2478 changed 2026-06-17Public domain