{"id":"GHSA-7g3p-35vc-mgjr","summary":"Cotonti: Cross-Site Request Forgery in the administration rights handler","details":"Cotonti 1.0.0 (master branch, commit f43f1fc3) is vulnerable to Cross-Site Request Forgery in the administration rights handler. In system/admin/admin.rights.php, the rights update action ('a=update') modifies group access rights (including via cot_auth_add_group) without calling cot_check_xg() to validate the anti-CSRF token. A remote attacker who lures an authenticated administrator into visiting a malicious page can force the browser to submit a forged request that grants elevated permissions to an attacker-controlled group, escalating privileges to administrator. Because Cotonti administrators can modify templates and configuration, this can be further leveraged toward remote code execution.","aliases":["CVE-2026-55742"],"modified":"2026-09-10T03:50:48.703572776Z","published":"2026-06-18T12:40:25Z","database_specific":{"nvd_published_at":"2026-06-18T08:16:34Z","cwe_ids":["CWE-352"],"severity":"CRITICAL","github_reviewed":true,"github_reviewed_at":"2026-06-19T14:52:08Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-55742"},{"type":"PACKAGE","url":"https://github.com/Cotonti/Cotonti"},{"type":"WEB","url":"https://github.com/Cotonti/Cotonti/blob/f43f1fc38ba4e02027786dad9dac1435c7c52b30/system/admin/admin.rights.php#L53"}],"affected":[{"package":{"name":"cotonti/cotonti","ecosystem":"Packagist","purl":"pkg:composer/cotonti/cotonti"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"1.0.0"}]}],"versions":["0.9.23","0.9.24","0.9.24.1","0.9.24.2","0.9.25","1.0.0"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-7g3p-35vc-mgjr/GHSA-7g3p-35vc-mgjr.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H"}]}