Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft malicious page with auto-submit form
-
DeliveryDeliver via phishing or watering hole
-
ExploitAdministrator visits while authenticated
-
ExecutionBrowser submits forged trash-empty request
-
ImpactAll trashed content permanently deleted
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V3 - Web Frontend Security Anti-CSRF tokens, SameSite cookies
MITRE ATT&CK
1 technique across 1 tactic: Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires an authenticated administrator with active session cookies in the same browser used to access attacker-controlled content. The administrator must have permissions to empty trash (typically all admin roles in default Masa CMS configurations). Attack complexity is low - standard CSRF techniques require no special tooling. What limits exploitation: the administrator must actively click a malicious link or visit an attacker-controlled page while logged into Masa CMS administrative interface, requiring social engineering success. Browser same-site cookie policies (SameSite=Lax/Strict) can block certain CSRF vectors if implemented, though Masa CMS default configurations may not enforce these protections. Organizations using separate browsers or workstations for administrative tasks versus general web browsing significantly reduce exploitation risk. The vulnerability affects default Masa CMS trash management functionality - no non-standard configuration required to be vulnerable. |
| Impact | This represents a moderate real-world risk requiring balanced assessment. The CVSS 7.2 (High) score accurately reflects the severe impact - permanent deletion of all trashed content with no recovery mechanism. However, exploitation prerequisites significantly reduce practical risk: the attack requires an authenticated administrator to interact with attacker-controlled content (click a link, visit a page) while logged into Masa CMS, limiting attack surface to social engineering scenarios. The CVSS vector PR:N (no privileges required for attacker) combined with UI:P (user interaction required) positions this as a targeted rather than opportunistic threat. No CISA KEV listing or public exploit code identified at time of analysis, suggesting this vulnerability is not yet attracting widespread attacker attention. The availability of patches across four maintained version branches (7.2.10, 7.3.15, 7.4.10, 7.5.3) indicates vendor responsiveness. Organizations running Masa CMS with isolated administrative access and current backups face limited actual risk, while those with exposed admin panels or lax backup policies should prioritize patching. The lack of EPSS data prevents quantitative exploitation probability assessment, but CSRF vulnerabilities generally see lower exploitation rates than authentication bypasses or RCE flaws due to interaction requirements. |
| Exploit ScenarioDerived | An attacker crafts a malicious webpage or HTML email containing a hidden form that auto-submits a POST request to the victim's Masa CMS administrative interface, targeting the cTrash.empty endpoint. When an authenticated administrator visits the attacker's page while logged into Masa CMS (common if admins browse web content without session isolation), their browser automatically includes session cookies with the forged request, bypassing authentication. Because cTrash.empty lacks CSRF token validation, the forged request executes successfully, permanently deleting all content in the trash. The administrator may not notice until attempting to restore previously deleted pages, discovering all recovery options eliminated. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 06, 2026
Cross-Site Request Forgery in Masa CMS trash management allows remote attackers to permanently delete all trashed content through a logged-in administrator. An attacker tricks an authenticated admin into visiting a malicious page that submits a forged trash-emptying request, bypassing CSRF protections and causing irreversible data loss across all pending-deletion content. The vulnerability affects default administrative interfaces without requiring special configuration. No active exploitation confirmed at time of analysis, though the attack technique is well-documented for CSRF vulnerabilities. EPSS data not available.
RemediationAI
Upgrade to patched versions immediately: 7.2.10, 7.3.15, 7.4.10, or 7.5.3 depending on current branch. The vendor has released fixes across all maintained versions, eliminating the missing token validation in cTrash.empty. See GitHub security advisory GHSA-9f35-q62j-vm5j at https://github.com/MasaCMS/MasaCMS/security/advisories/GHSA-9f35-q62j-vm5j for complete patch details. If immediate patching is not feasible, implement these specific compensating controls: restrict administrative backend access via IP allowlisting to known administrator networks (trade-off: reduces remote administration flexibility), enforce browser isolation or dedicated administrative workstations that never access untrusted content (trade-off: operational overhead and user training required), and verify database backup frequency meets recovery point objectives for content restoration (trade-off: backups provide recovery but not prevention). Deploy web application firewall rules to detect and block unusual POST requests to trash management endpoints from cross-origin sources, though this may cause false positives with legitimate administrative workflows. These mitigations reduce but do not eliminate risk - patching remains the only complete remediation.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Masa CMS is a content management system forked from Mura CMS, written in CFML (ColdFusion Markup Language). The cTrash.empty function handles permanent deletion of content items stored in the trash - typically a staged deletion area allowing content recovery before final removal. This vulnerability stems from CWE-352 (Cross-Site Request Forgery), where state-changing administrative operations lack synchronizer token validation. The CVSS 4.0 vector (AV:N/AC:L/PR:N/UI:P) indicates network-accessible exploitation with low complexity requiring no attacker authentication, but dependent on user interaction (the administrator must trigger the forged request). The VI:H/VA:H ratings reflect high integrity and availability impact - permanent data destruction affecting content recoverability. CSRF attacks exploit the browser's automatic inclusion of session cookies with cross-origin requests, allowing attackers to piggyback on legitimate administrative sessions.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N
Primary rating from GitHub Advisory · only source for this CVE.
CVSS VectorGitHub Advisory
Lifecycle Timeline
2DescriptionGitHub Advisory
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.
Executive ViewAI
CVE-2026-40309 is a Cross-Site Request Forgery vulnerability in Masa CMS that enables attackers to permanently delete all trashed content by deceiving authenticated administrators into visiting a malicious webpage. This represents a critical data integrity risk for organizations using Masa CMS, as irreversible content loss can occur without the administrator's knowledge or consent, potentially disrupting business continuity and compliance with data retention policies.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Restrict CMS administrator access to organizational IP ranges via firewall or reverse proxy; (2) Enforce multi-factor authentication on all administrative accounts; (3) Implement browser isolation or sandboxing for administrators accessing the CMS; (4) Disable or restrict trash/recycle bin functionality if operationally feasible; (5) Implement automated backups of all CMS content with immutable retention to enable recovery from deletion events; (6) Deploy browser-level CSRF protection extensions for administrative users; (7) Monitor admin account activity logs for suspicious bulk deletion patterns.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Request Forgery exploits the automatic credential inclusion behavior of web browsers.
EUVD-2026-28156
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB