# CVE-2026-1785: Code Snippets <= 3.9.4 - Cross-Site Request Forgery to Cloud Snippet Download/Update Actions

- Severity: Medium 4.3 (CVSS:3.1, scored by Wordfence) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 13% of CVEs (2026-12-01)
- Published: 2026-02-06T08:25:26.266Z
- Modified: 2026-06-17T10:16:30.923Z
- Weaknesses: CWE-352
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Wordfence

## Description

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.

(As written by CVE List.)

## Affected

- codesnippetspro Code Snippets: up to 3.9.4

## References

- <https://www.wordfence.com/threat-intel/vulnerabilities/id/4a5787f3-6a16-491a-aa01-6222f275cf0f?source=cve>
- <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/tags/3.9.4/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://plugins.trac.wordpress.org/browser/code-snippets/tags/3.9.4/php/cloud/list-table-shared-ops.php#L57>
- <https://github.com/codesnippetspro/code-snippets/pull/331/changes>

## Sources

- CVE List: [CVE-2026-1785](https://www.cve.org/CVERecord?id=CVE-2026-1785), CVE Terms of Use, modified 2026-04-08
- NVD: [CVE-2026-1785](https://nvd.nist.gov/vuln/detail/CVE-2026-1785), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-1785 · Whole record: https://cve.day/CVE-2026-1785.json · Rebuilt by cve.day 2026-11-25T22:59:13.543Z
