CVE-2026-40325: Masa CMS CSRF in content restoration allows unauthorized restoration of deleted content
Masa CMS is a content management system forked from Mura CMS. In versions 7.5.2 and earlier, the cTrash.restore function does not properly validate anti-CSRF tokens for content restoration requests. An attacker can trick a logged-in administrator to submit a forged request that restores deleted items from the trash and places them at an attacker-controlled location in the site structure through the parentid parameter. This can restore previously deleted malicious or outdated content, expose sensitive documents by moving them into publicly accessible locations, and disrupt site structure or content integrity.
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 regularly empty the trash to reduce the amount of content available for unauthorized restoration.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2026-40325?
CVE-2026-40325 has a medium severity rating due to the potential for unauthorized content restoration.
How do I fix CVE-2026-40325?
To fix CVE-2026-40325, upgrade Masa CMS to version 7.5.3 or later where the anti-CSRF token validation issue is resolved.
What versions of Masa CMS are affected by CVE-2026-40325?
Masa CMS versions 7.5.2 and earlier are affected by CVE-2026-40325, including versions 7.5.1 and below.
What type of vulnerability is CVE-2026-40325?
CVE-2026-40325 is a Cross-Site Request Forgery (CSRF) vulnerability that allows unauthorized restoration of deleted content.
Can an attacker exploit CVE-2026-40325 remotely?
Yes, an attacker can exploit CVE-2026-40325 remotely if they target a user with an active session.