LiveActive security incident?Get immediate response
CVE Record

CVE-2026-1785: 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.

MediumCVSS 4.3Not KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

Security readout for executives and security teams

Plain-English summary

CVE-2026-1785 affects the WordPress Code Snippets plugin through version 3.9.4. A malicious site could trick a logged-in WordPress administrator into downloading or updating cloud snippets without consent. The issue requires administrator interaction and is rated medium severity.

Executive priority

Treat as a medium-priority WordPress administration risk. It does not indicate direct takeover, but it could let attackers alter plugin-managed snippets through administrator deception. Prioritize sites with many admins, high business value, or active use of cloud snippets.

Technical view

The vulnerability is a CSRF flaw caused by missing nonce validation on cloud snippet download and update actions in the Cloud_Search_List_Table class. It is classified as CWE-352 with CVSS 3.1 score 4.3. The reported impact is limited integrity impact, with no confidentiality or availability impact stated.

Likely exposure

Exposure is likely for WordPress sites running Code Snippets versions up to and including 3.9.4 where administrators can access cloud snippet download or update functionality. The affected-version metadata in the bundle is inconsistent, so validate against the CVE and vendor sources.

Exploitation context

No CISA KEV listing or cited source indicates active exploitation. Exploitation requires an unauthenticated attacker to lure a logged-in administrator to a malicious page that sends a crafted request. This is user-interaction dependent and primarily affects administrative integrity.

Researcher notes

The public record identifies missing nonce validation around cloud snippet download and update operations. References include Wordfence, WordPress Trac source locations for trunk and 3.9.4, and a GitHub pull request. The bundle does not provide confirmed exploitation or a specific fixed version.

Mitigation direction

  • Check vendor and WordPress plugin guidance for a fixed Code Snippets release.
  • Update Code Snippets if a vendor-supported patched version is available.
  • Limit WordPress administrator browsing from authenticated sessions.
  • Review cloud snippet functionality and disable it if not needed.
  • Educate administrators not to visit untrusted links while logged in.

Validation and detection

  • Inventory WordPress sites using the Code Snippets plugin.
  • Identify installations running version 3.9.4 or earlier.
  • Review cloud snippets for unexpected downloads or updates.
  • Confirm whether cloud actions enforce nonce validation after remediation.
  • Monitor vendor, CVE, and Wordfence pages for updated fix details.
Prepared
Confidence
medium
Sources
8

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · medium confidence lookup

CWE-352: User-session and phishing behavior lookup

Client-side and session-facing weaknesses should be reviewed alongside initial-access and user-execution behaviors. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2026-1785 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Medium
CVSS
4.3 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
7Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
4.3CVSS 3.1MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N2.81.4Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

4.3Medium
CVSS 3.1 vector shape for CVE-2026-1785Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
codesnippetsproCode Snippets0unaffected
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-352 · source CWE mapping

Cross-Site Request Forgery (CSRF)

Cross-Site Request Forgery (CSRF) represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.