{"id":"CVE-2026-1785","summary":"Code Snippets \u003c= 3.9.4 - Cross-Site Request Forgery to Cloud Snippet Download/Update Actions","details":"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.","modified":"2026-07-15T01:49:19.824721645Z","published":"2026-02-06T08:25:26.266Z","database_specific":{"cwe_ids":["CWE-352"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/1xxx/CVE-2026-1785.json","cna_assigner":"Wordfence"},"references":[{"type":"WEB","url":"https://github.com/codesnippetspro/code-snippets/pull/331/changes"},{"type":"WEB","url":"https://plugins.trac.wordpress.org/browser/code-snippets/tags/3.9.4/php/cloud/class-cloud-search-list-table.php#L105"},{"type":"WEB","url":"https://plugins.trac.wordpress.org/browser/code-snippets/tags/3.9.4/php/cloud/list-table-shared-ops.php#L57"},{"type":"WEB","url":"https://plugins.trac.wordpress.org/browser/code-snippets/trunk/php/cloud/class-cloud-search-list-table.php#L105"},{"type":"WEB","url":"https://plugins.trac.wordpress.org/browser/code-snippets/trunk/php/cloud/list-table-shared-ops.php#L57"},{"type":"WEB","url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/4a5787f3-6a16-491a-aa01-6222f275cf0f?source=cve"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/1xxx/CVE-2026-1785.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-1785"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/codesnippetspro/code-snippets","events":[{"introduced":"0"},{"last_affected":"8ee0c5cd40988c6ddfdba4d8fb67523296d84d1e"}],"database_specific":{"source":"AFFECTED_FIELD","extracted_events":[{"introduced":"0"},{"last_affected":"3.9.4"}]}}],"versions":["v3.9.4","v3.8.2","v3.8.1","v3.8.0","v3.6.8","v3.6.7","v3.6.6.1","v3.6.6","v3.6.5","v3.6.4","v3.6.3","v3.6.2","v3.6.1","v3.6.0","v3.5.1","v3.5.0","v3.4.0","v3.3.0","v3.2.2","v3.2.1","v3.2.0","v3.1.2","v3.1.1","v3.1.0","v3.0.1","v3.0.0","v2.14.1","v2.14.0","v2.13.3","v2.13.2","v2.13.1","v2.13.0","v2.12.1","v2.12.0","v2.10.2","v2.10.1","v2.10.0","v2.9.6","v2.9.5","v2.9.4","v2.9.3","v2.9.2","v2.9.1","v2.9.0","v2.8.5","v2.8.4","v2.8.3","v2.8.2","v2.8.1","v2.8.0","v2.7.2","v2.7.1","v2.7.0","v2.6.1","v2.6.0","v2.5.1","v2.5.0","v2.4.2","v2.4.1","v2.4.0","v2.3.0","v2.2.3","v2.2.2","v2.2.1","v2.2.0","v2.1.0","v1.8.0","v1.7.1.2","v1.7.1.1","v1.7.1","v1.7.0","v1.6.1","v1.6.0","v1.5.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-1785.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N"}]}