CVE-2026-40309 Details
Description
Masa CMS is a content management system forked from Mura CMS. In versions 7.5.2 and earlier, the cTrash.empty function does not validate anti-CSRF tokens for trash management requests. An attacker can induce a logged-in administrator to submit a forged request that empties the trash and permanently deletes all deleted content. This can cause irreversible data loss and disrupt recovery of content intended for restoration. This issue has been fixed in versions 7.2.10, 7.3.15, 7.4.10, and 7.5.3. As a workaround, restrict access to the administrative backend, use browser isolation for administrative sessions, and maintain current database backups to recover from unauthorized deletion.
A cross-site request forgery (CSRF) vulnerability has been identified in Masa CMS versions through 7.5.2, specifically within the trash management feature. The issue arises because the cTrash.empty function does not properly validate anti-CSRF tokens, allowing an attacker to trick a logged-in administrator into sending a request that empties the trash and permanently deletes all content. This exploitation can lead to significant data loss, as deleted items cannot be recovered through standard CMS tools. The vulnerability has been patched in Masa CMS versions 7.2.10, 7.3.15, 7.4.10, and 7.5.3.
Users are advised to upgrade to Masa CMS versions 7.2.10, 7.3.15, 7.4.10, or 7.5.3. If an immediate upgrade is not possible, administrators should log out of the CMS after completing tasks, use a dedicated browser for administration, configure Web Application Firewall rules to block suspicious requests to the cTrash.cfc endpoint, and maintain regular off-site database backups.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed May 6, 2026CISA-ADP
Assessed May 7, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/MasaCMS/MasaCMS/security/advisories/GHSA-9f35-q62j-vm5j | [email protected] | AdvisoryRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-352 | Cross-Site Request Forgery (CSRF) | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Masa CMS | <= 7.5.2 (semver) |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| May 6, 2026 | New CVE Received | [email protected] |
Volerion