Code Snippets <= 3.9.4 - Cross-Site Request Forgery to Cloud Snippet Download/Update Actions
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-1785
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 2 Nov 2026, 21:05 UTC · Revision 1
Source evidence
Code Snippets <= 3.9.4 - Cross-Site Request Forgery to Cloud Snippet Download/Update Actions
core-osv · Original sourcePublished 6 Feb 2026, 08:25 UTC
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.
osv:CVE-2026-1785
Complete source record
{
"id": "0cf570d73296216084a0c82a93cea035c8e299e4589ca0ae7ccd71c10856d406",
"url": "https://osv.dev/vulnerability/CVE-2026-1785",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Code Snippets <= 3.9.4 - Cross-Site Request Forgery to Cloud Snippet Download/Update Actions",
"summary": "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.",
"evidence": "osv:CVE-2026-1785",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2026-1785",
"aliases": [
"CVE-2026-1785"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/codesnippetspro/code-snippets",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"last_affected": "8ee0c5cd40988c6ddfdba4d8fb67523296d84d1e"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"last_affected": "3.9.4"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
}
]
}
}
],
"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"
}
}
],
"modified": "2026-10-28T02:30:23.510075053Z",
"provider": "osv",
"references": [
"https://github.com/codesnippetspro/code-snippets/pull/331/changes",
"https://plugins.trac.wordpress.org/browser/code-snippets/tags/3.9.4/php/cloud/class-cloud-search-list-table.php#L105",
"https://plugins.trac.wordpress.org/browser/code-snippets/tags/3.9.4/php/cloud/list-table-shared-ops.php#L57",
"https://plugins.trac.wordpress.org/browser/code-snippets/trunk/php/cloud/class-cloud-search-list-table.php#L105",
"https://plugins.trac.wordpress.org/browser/code-snippets/trunk/php/cloud/list-table-shared-ops.php#L57",
"https://www.wordfence.com/threat-intel/vulnerabilities/id/4a5787f3-6a16-491a-aa01-6222f275cf0f?source=cve",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/1xxx/CVE-2026-1785.json",
"https://nvd.nist.gov/vuln/detail/CVE-2026-1785"
],
"provider_metadata": {
"cwe_ids": [
"CWE-352"
],
"cna_assigner": "Wordfence",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/1xxx/CVE-2026-1785.json"
}
},
"related_cves": [
{
"value": "CVE-2026-1785",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 490062,
"published_at": "2026-02-06T08:25:26.266+00:00"
}