CVE-2025-2478 MEDIUM

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

Vendor Allhart
Product Code Clone
Weakness CWE-89 · SQLi
Published March 22, 2025
Last update April 8, 2026

CVSS base score

4.9/10
Attack vector Network
Attack complexity Low
Privileges required High
User interaction None
Confidentiality High
Integrity None

CVSS vector

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

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

March 22, 2025 CVE published
April 8, 2026 Record updated