Description (CNA)
Roundcube Webmail before 1.6.20 and 1.7.x before 1.7.5 is affected by a CSRF validation bypass in the mark-as-junk action of the markasjunk plugin. The plugin read the _uid parameter from POST data but passed it to rcmail::get_uids() without constraining the input mode, so values re-read inside that helper could be taken from the query string and the action carried out without a valid CSRF token. Upstream fixed this in the commit “Fix CSRF validation bypass in the mark-as-junk action”, which passes rcube_utils::INPUT_POST explicitly.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Roundcube / Webmail | affected 1.6.0 before 1.6.20; affected 1.7.0 before 1.7.5 |
CWE
CWE-352
References
- https://bugs.debian.org/1151279
- https://github.com/roundcube/roundcubemail/commit/6ea2bbe356099c9da98eabcfeafd8d6aa2d67b3d
- https://roundcube.net/news/2026/10/19/security-updates-1.6.20-and-1.7.5
- https://github.com/roundcube/roundcubemail/releases/tag/1.7.5
- https://github.com/roundcube/roundcubemail/releases/tag/1.6.20
- https://github.com/roundcube/roundcubemail/commit/15b0dc0d6e5712310c8f663577361bf8132a7f81