GitHub Advisoryadvisory · Packagist
GHSA-7g3p-35vc-mgjr Cotonti: Cross-Site Request Forgery in the administration rights handler
CRITICAL
Official page ↗
- Aliases
- CVE-2026-55742
- Ecosystem
- Packagist
- Packages
- cotonti/cotonti
- Severity
- Critical
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
- Weaknesses
- CWE-352
- Reviewed
- 2026-06-19
Affected packages
• Packagist cotonti/cotonti: <= 1.0.0 (no fix yet)
Description
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.
Related
Alias · CVE (1)
- CVE-2026-55742 Cotonti 1.0.0 (master branch, commit f43f1fc3) is vulnerable to Cross-Site Request Forgery in the administration rights handler. vulnerability
Weakness · CWE (1)
- CWE-352 Cross-Site Request Forgery weakness