PT-2025-12472 · WordPress · Code Clone
Published
2025-03-22
·
Updated
2025-03-22
·
CVE-2025-2478
CVSS v3.1
4.9
Medium
| Vector | AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N |
Name of the Vulnerable Software and Affected Versions
Code Clone plugin for WordPress versions up to, and including, 0.9
Description
The issue is related to time-based SQL Injection via the
snippetId parameter due to insufficient escaping on the user-supplied parameter and lack of sufficient preparation on the existing SQL query. This allows 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.Recommendations
For versions up to, and including, 0.9, consider disabling the
snippetId parameter until a patch is available to prevent exploitation.
Restrict access to the Code Clone plugin to minimize the risk of exploitation, especially for users with Administrator-level access and above.
Avoid using the snippetId parameter in the affected plugin until the issue is resolved.Fix
SQL injection
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Code Clone