CSRF in Codesnippetspro Code Snippets
CVE-2026-1785
The Code Snippets plugin for WordPress is vulnerable to Cross-Site Request Forgery in all versions up to, and including, 3.9.4. This is due to missing nonce validation on the cloud snippet download and update actions in the Cloud_Search_List_Table class. This makes it possible for unauthenticated attackers to force logged-in administrators to download or update cloud snippets without their consent via a crafted request, granted they can trick an administrator into visiting a malicious page.
Vulnerability class: CSRF (Cross-Site Request Forgery)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 4.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N.
EPSS exploit prediction
EPSS 0.002, 12.3th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Codesnippetspro Code Snippets — versions 0
Weakness classification (CWE)
References
- www.wordfence.com/threat-intel/vulnerabilities/id/4a5787f3-6a16-491a-aa01-6222f…
- plugins.trac.wordpress.org/browser/code-snippets/trunk/php/cloud/class-cloud-se…
- plugins.trac.wordpress.org/browser/code-snippets/tags/3.9.4/php/cloud/class-clo…
- plugins.trac.wordpress.org/browser/code-snippets/trunk/php/cloud/list-table-sha…
- plugins.trac.wordpress.org/browser/code-snippets/tags/3.9.4/php/cloud/list-tabl…
- github.com/codesnippetspro/code-snippets/pull/331/changes