6.5medium
e107: CSRF in comment.php moderation endpoints via token-optional validation in session_handler::check()
- Severity
- 6.5medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.13% (higher than 3% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
Description
e107 is a content management system (CMS). Prior to 2.3.5, e107 CMS does not properly enforce CSRF token validation on comment moderation actions. The problem comes down to how session_handler::check() handles CSRF tokens. Instead of requiring a token on every state-changing request, it only validates the token if one happens to be present. If there is no token at all, the check is skipped entirely. This vulnerability is fixed in 2.3.5.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| e107inc e107 | < 2.3.5 | CVE List |
Classification
What each source says
CVE List
e107 is a content management system (CMS). Prior to 2.3.5, e107 CMS does not properly enforce CSRF token validation on comment moderation actions. The problem comes down to how session_handler::check() handles CSRF tokens. Instead of requiring a token on every state-changing request, it only validates the token if one happens to be present. If there is no token at all, the check is skipped entirely. This vulnerability is fixed in 2.3.5.
NVD (es)
e107 es un sistema de gestión de contenidos (CMS). Antes de la versión 2.3.5, e107 CMS no aplica correctamente la validación del token CSRF en las acciones de moderación de comentarios. El problema radica en cómo session_handler::check() maneja los tokens CSRF. En lugar de requerir un token en cada solicitud de cambio de estado, solo valida el token si este está presente. Si no hay ningún token, la verificación se omite por completo. Esta vulnerabilidad está corregida en la versión 2.3.5.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-46620 changed 2026-05-27 | CVE Terms of Use |
| NVD | CVE-2026-46620 changed 2026-07-24 | Public domain |