CVE-2026-1785
The Code Snippets plugin for WordPress is vulnerable to Cross-Site …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/codesnippetspro/code-snippets/pull/331/changes
- plugins.trac.wordpress.org/browser/code-snippets/tags/3.9.4/php/cloud/class-cloud-search-l
- plugins.trac.wordpress.org/browser/code-snippets/tags/3.9.4/php/cloud/list-table-shared-op
- plugins.trac.wordpress.org/browser/code-snippets/trunk/php/cloud/class-cloud-search-list-t
- plugins.trac.wordpress.org/browser/code-snippets/trunk/php/cloud/list-table-shared-ops.php
- www.wordfence.com/threat-intel/vulnerabilities/id/4a5787f3-6a16-491a-aa01-6222f275cf0f?sou
- nvd.nist.gov/vuln/detail/CVE-2026-1785
- cve.org/CVERecord?id=CVE-2026-1785
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.