Skip to main content

Masa CMS EUVDEUVD-2026-28156

| CVE-2026-40309 HIGH
Cross-Site Request Forgery (CSRF) (CWE-352)
2026-05-06 security-advisories@github.com
7.2
CVSS 4.0 · GitHub Advisory
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft malicious page with auto-submit form
  2. Delivery
    Deliver via phishing or watering hole
  3. Exploit
    Administrator visits while authenticated
  4. Execution
    Browser submits forged trash-empty request
  5. Impact
    All 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

MasaCMS 7.5.0, < 7.5.3
MasaCMS < 7.2.10
MasaCMS 7.3.0, < 7.3.15
MasaCMS 7.4.0, < 7.4.10

Affected Packages

euvd masacms fix: 7.2.10, 7.3.15, 7.4.10, 7.5.3

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

GitHub Advisory PRIMARY 7.2 HIGH
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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
May 06, 2026 - 21:03 EUVD
CVE Published
May 06, 2026 - 20:16 nvd
HIGH 7.2

DescriptionGitHub 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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.0%
Top 95% exploitable
Data Quality
4 sources
Confidence: Medium

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Total

Priority Score

36
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Request Forgery exploits the automatic credential inclusion behavior of web browsers.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy