/

CVE-2026-120207

Severity:

HIGH RISK

(7.1)

CSRF (CWE-352) in Thelia Page Module Delete Endpoints

CVE-2026-120207

Deferred

Vulnerability type

Category:

Cross-Site Request Forgery (CSRF)

CWE:

CWE-352

Impact:

Unauthorized deletion of content and media

Severity:

HIGH RISK

(7.1)

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

The Thelia Page Module before 2.0.4 has back-office delete routes that lack CSRF protections and permission checks. If a logged-in administrator is induced to visit a crafted request, an attacker may cause page tags, documents, images, and related files or variants to be deleted.

Affected context

The issue concerns delete routes in the Thelia Page Module's back office. It may affect deployments where those routes can be triggered through GET requests without verifying a CSRF token or checking the user's authorization for the requested deletion. The described impact includes TheliaLibrary images, their files and variants, and content associated with pages, products, and categories.

Exploit preconditions

  • Attack surface: Thelia back-office delete routes.
  • Required access: The victim must be authenticated as an administrator or another user with access to the affected back office.
  • Trigger point: The victim's browser makes a crafted GET request to a delete route.
  • Why exploitation is possible: The routes lack CSRF token validation and permission checks, allowing a request initiated by an attacker to perform deletions in the victim's authenticated session. Sequential identifiers may allow requests to target multiple items.

Why this happens

The underlying issue is that state-changing delete actions can be initiated without adequate request-origin verification or authorization checks. This maps to CWE-352: Cross-Site Request Forgery (CSRF): an application accepts a request from an authenticated user's browser without confirming that the user intentionally initiated it. Missing permission checks can further weaken access control around the deletion operation.

Potential impact

  • An attacker could cause unauthorized deletion of page tags, documents, and images.
  • TheliaLibrary image files and variants may be removed.
  • Content associated with pages, products, or categories may be affected.
  • Administrators may need to restore deleted content or media from backups.

General mitigation guidance

Common defensive patterns for state-changing operations include:

  • Require unpredictable, session-bound CSRF tokens and validate them on every state-changing request.
  • Use non-GET methods for actions that change or delete data, while still applying CSRF protections.
  • Enforce server-side authorization checks for each requested object and operation.
  • Limit bulk or sequential deletion behavior and require explicit confirmation for broad changes.
  • Apply least privilege to back-office accounts and reduce exposure of administrative functions.
  • Treat browser-origin signals as defense in depth rather than as a replacement for CSRF tokens and authorization.

How teams detect issues like this

Review back-office routes for state-changing behavior exposed through GET requests, missing CSRF validation, or authorization checks that are absent or performed only in the interface. Static analysis and code review can identify delete handlers that do not validate request tokens or object-level permissions. Automated policy checks can flag state-changing routes that accept GET requests, while application tests can verify that requests without valid tokens or sufficient permissions are rejected.

Sources

SourceLink
github.comgithub.com/thelia-modules/Page/blob/2.0.3/Controller/Admin/PageImageController.php#L117
github.comgithub.com/thelia-modules/Page/commit/e7206a7c35c945cc8fe529fe95a9b30402f0fb60
github.comgithub.com/thelia/thelia/security/advisories/GHSA-whqr-4v2h-6jhc
vulncheck.comvulncheck.com/advisories/thelia-page-module-before-2.0.4-csrf-via-page-tag-document-and-image-delete-routes

Frequently asked

questions

An attacker may trigger deletion remotely by inducing an authenticated administrator to make a crafted request to the back office.

The attacker generally does not need an administrator account, but the victim must be logged in and able to access the affected routes.

Protect every state-changing operation with validated CSRF tokens and enforce server-side authorization for each action and target object.

Avoid state changes through GET requests, test that unauthorized or tokenless requests are rejected, and include CSRF and access-control checks in code review and automated policies.

Find out what's already
exploitable in your codebase.