CVE-2021-31408
HIGH 7.1CVSS 3.1Server session is not invalidated when logout() helper method of Authentication module is used in Vaadin 18-19
Authentication.logout() helper in com.vaadin:flow-client versions 5.0.0 prior to 6.0.0 (Vaadin 18), and 6.0.0 through 6.0.4 (Vaadin 19.0.0 through 19.0.3) uses incorrect HTTP method, which, in combination with Spring Security CSRF protection, allows local attackers to access Fusion endpoints after the user attempted to log out.
- Published
- 23 Apr 2021
- Last modified
- 17 Jun 2026
- Assigned by
- security@vaadin.com
- NVD status
- Modified
- Weakness
- CWE-287CWE-613
- Also known as
- GHSA-mr8h-j9cv-4m8h
- Sources
- NVDJSONOSV GHSA-mr8h-j9cv-4m8hJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N |
| NVD | security@vaadin.com (Secondary) | CVSS 3.1 | MEDIUM 6.3 | CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.3 | CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | LOW 3.3 | AV:L/AC:M/Au:N/C:P/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | vaadin | flowcpe:2.3:a:vaadin:flow:*:*:*:*:*:*:*:* |
>= 5.0.0, < 6.0.0 | 6.0.0 |
| NVD | vaadin | flowcpe:2.3:a:vaadin:flow:*:*:*:*:*:*:*:* |
>= 6.0.0, < 6.0.5 | 6.0.5 |
| NVD | vaadin | vaadincpe:2.3:a:vaadin:vaadin:*:*:*:*:*:*:*:* |
>= 19.0.0, < 19.0.4 | 19.0.4 |
| NVD | vaadin | vaadincpe:2.3:a:vaadin:vaadin:18.0.0:-:*:*:*:*:*:* |
= 18.0.0 | |
| OSV | Maven | com.vaadin:vaadin-bom | >= 18.0.0, < 19.0.4 | 19.0.4 |
References
- https://github.com/vaadin/flow/pull/10577 · Patch, Third Party Advisory, WEB
- https://vaadin.com/security/cve-2021-31408 · Vendor Advisory, WEB
- https://github.com/vaadin/platform/security/advisories/GHSA-mr8h-j9cv-4m8h · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-31408 · ADVISORY
History
- 25 Nov 2026 20:32 UTC · NVD: first stored (published 23 Apr 2021)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 22 Apr 2021)