Description
Cotonti 1.0.0 passes the base64-decoded cb parameter to unserialize() without allowed_classes restriction in the comments plugin EditAction. Registered users with comment write permissions can instantiate arbitrary PHP objects and potentially achieve file write or code execution through gadget chains.
Severity (CVSS)
| Base score | 7.7 |
|---|---|
| Severity | High |
| Version | CVSS 4.0 |
| Vector | CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
| Provided by | CNA |
Weaknesses
- CWE-502 — Deserialization of Untrusted Data
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Cotonti | Cotonti | 1.0.0 to <=1.0.0 |
References
- https://github.com/Cotonti/Cotonti/issues/1894 (issue-tracking)
- https://github.com/Cotonti/Cotonti/pull/1897 (patch issue-tracking)
- https://github.com/Cotonti/Cotonti/blob/1.0.0/plugins/comments/controllers/actions/EditAction.php (technical-description)
- https://github.com/Cotonti/Cotonti/blob/1.0.0/system/cache.php (technical-description)
- https://github.com/Cotonti/Cotonti (product)
- https://www.vulncheck.com/advisories/cotonti-1.0.0-php-object-injection-via-comments-plugin-edit-action-cb-parameter (third-party-advisory)
Generated from the official CVE List on 19 Sep 2026 07:08 UTC.