Cotonti 1.0.0 (master branch, commit f43f1fc3) is vulnerable to Cross-Site Request Forgery in the Personal File Storage (PFS) module. In modules/pfs/inc/pfs.editfolder.php, the folder update action ('a=update') updates folder metadata (title, description, public/gallery flags) without calling cotcheckxg() to validate the anti-CSRF token. A remote attacker who lures an authenticated user into visiting a malicious page can force the browser to submit a forged request that modifies the victim's folder metadata, including making a private folder public.
{
"github_reviewed": true,
"github_reviewed_at": "2026-06-19T14:51:18Z",
"nvd_published_at": "2026-06-18T08:16:34Z",
"severity": "MODERATE",
"cwe_ids": [
"CWE-352"
]
}