/

CVE-2026-70376

Severity:

CRITICAL RISK

(9.6)

CSRF (CWE-352) in Pluck CMS Administrator Interface

CVE-2026-70376

Deferred

Vulnerability type

Category:

Cross-Site Request Forgery

CWE:

CWE-352

Impact:

Unauthorized Administrative Actions, Stored XSS, and Potential Remote Code Execution

Severity:

CRITICAL RISK

(9.6)

CVSS version:

3.1

Catch this CVE while code is being written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.

Summary

Pluck CMS's administrator interface relies on a Referer-header comparison instead of per-request anti-CSRF tokens, and requests without relevant header information may be treated as same-origin. An attacker could use this weakness to cause an authenticated administrator's browser to submit unauthorized actions, potentially resulting in stored cross-site scripting or installation of PHP modules and themes that enable remote code execution.

Affected context

The issue occurs in Pluck CMS administrative actions protected by the

requestedByTheSameDomain() check. Risk is elevated when an administrator is

authenticated in the same browser that visits attacker-controlled content,

and when the browser sends no Referer information that the check can validate.

Sensitive actions such as content creation and module or theme installation

may therefore be reachable without a dedicated request-specific CSRF token.

Exploit preconditions

  • Attack surface: Pluck CMS administrator action endpoints
  • Required access: An authenticated administrator session in a targeted browser
  • Trigger point: A forged cross-site request submitted while the administrator is logged in
  • Why exploitation is possible: Authorization relies on a client-supplied Referer value, and missing header information can be accepted as same-origin instead of requiring an independent anti-CSRF proof

Why this happens

The vulnerability results from treating the Referer header as the primary

authorization signal for state-changing administrative requests. Referer

information is optional, can be suppressed by browser policy or page

configuration, and does not prove that a request originated from a trusted

application page. Without unpredictable, per-request or per-session CSRF

tokens and robust request-origin validation, cross-site content may induce

authenticated state changes. This maps to CWE-352: Cross-Site Request Forgery.

Potential impact

  • An attacker may create or modify CMS content without the administrator's intent.
  • Stored malicious markup could execute in visitors' browsers.
  • Administrative settings or content may be altered.
  • PHP modules or themes could be installed, potentially enabling remote code execution.
  • The CMS account, hosted content, or underlying server could be compromised.

General mitigation guidance

Mitigation generally focuses on requiring an independent anti-CSRF defense

for every state-changing administrative action.

Common defensive patterns include:

  • Generate and validate unpredictable CSRF tokens bound to the authenticated session.
  • Reject state-changing requests when the token is absent, invalid, expired, or mismatched.
  • Treat missing or ambiguous Referer information as untrusted rather than as proof of same-origin.
  • Apply Origin and, where appropriate, Referer validation as defense-in-depth.
  • Use secure cookie attributes, including appropriate SameSite, Secure, and HttpOnly settings.
  • Require explicit confirmation and reauthentication for high-impact operations such as module or theme installation.
  • Enforce least privilege for administrator accounts and isolate installation capabilities where possible.
  • Validate and safely render user-controlled HTML to reduce the impact of unauthorized content changes.

How teams detect issues like this

Organizations can look for:

  • Static analysis findings where state-changing handlers lack token validation.
  • Code paths that authorize administrative requests solely through Referer or Host comparisons.
  • Branches that accept missing, empty, or malformed origin-related headers.
  • Review signals showing that administrative forms or asynchronous requests omit CSRF tokens.
  • Policy checks requiring CSRF middleware or equivalent protection on every mutating route.
  • Security testing that evaluates requests with absent or altered origin metadata in authenticated sessions.

Automated code review and dynamic security testing tools may help identify inconsistent

CSRF enforcement across administrative endpoints.

Sources

SourceLink
github.comgithub.com/pluck-cms/pluck

Frequently asked

questions

Yes, it may be exploitable through attacker-controlled web content, but the

target must have an authenticated administrator session and the relevant

administrative action must accept the forged request.

The attacker generally does not need a Pluck CMS account. They need to

deliver or entice an administrator to visit content that causes a request to

the CMS while the administrator is authenticated.

Require a validated, unpredictable CSRF token on every state-changing

administrative request, and fail closed when origin information is absent or

invalid.

Centralize CSRF enforcement, use secure cookie settings and origin checks as

defense-in-depth, review all administrative actions for consistent protection,

and apply least privilege to high-impact installation capabilities.

Find out what's already
exploitable in your codebase.