CVE-2026-40309: Masa CMS CSRF in trash management allows unauthorized permanent deletion of deleted content
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.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2026-40309?
CVE-2026-40309 has a medium severity rating due to its potential for unauthorized data deletion.
How do I fix CVE-2026-40309?
To fix CVE-2026-40309, upgrade to Masa CMS version 7.5.4 or later where the CSRF validation issue is resolved.
Who is affected by CVE-2026-40309?
CVE-2026-40309 affects Masa CMS versions 7.5.2 and earlier.
What type of vulnerability is CVE-2026-40309?
CVE-2026-40309 is a Cross-Site Request Forgery (CSRF) vulnerability.
What can an attacker do with CVE-2026-40309?
An attacker can exploit CVE-2026-40309 to permanently delete content from the trash without authorization.