# CVE-2021-31408: Server session is not invalidated when logout() helper method of Authentication module is used in Vaadin 18-19

- Severity: Medium 6.3 (CVSS:3.1, scored by Vaadin) `CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.32%, higher than 27% of CVEs (2026-12-01)
- Published: 2021-04-22T16:11:17.000Z
- Modified: 2026-06-17T03:51:43.580Z
- Also known as: GHSA-mr8h-j9cv-4m8h
- Weaknesses: CWE-287, CWE-613
- Assigned by: Vaadin

## Description

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.

(As written by CVE List.)

## Affected

- Vaadin Vaadin: from 18.0.0 before *; from 19.0.0 before 19.0.4; 18.0.0
- Vaadin flow-client: from 5.0.0 before *
- com.vaadin:vaadin-bom (Maven): from 18.0.0 before 19.0.4
- vaadin flow: from 5.0.0 before 6.0.0; from 6.0.0 before 6.0.5

## Every score

- Vaadin: CVSS:3.1 6.3 Medium `CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N`
- GitHub: CVSS:3.1 6.3 Medium `CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N`
- NVD: CVSS:3.1 7.1 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N`
- NVD: CVSS:2.0 3.3 Low `AV:L/AC:M/Au:N/C:P/I:P/A:N`

## References

- <https://vaadin.com/security/cve-2021-31408> (vendor-advisory, web)
- <https://github.com/vaadin/flow/pull/10577> (patch, third-party-advisory, web)
- <https://github.com/vaadin/platform/security/advisories/GHSA-mr8h-j9cv-4m8h> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-31408> (advisory)

## Sources

- CVE List: [CVE-2021-31408](https://www.cve.org/CVERecord?id=CVE-2021-31408), CVE Terms of Use, modified 2024-09-17
- GitHub Advisory Database: [GHSA-mr8h-j9cv-4m8h](https://github.com/advisories/GHSA-mr8h-j9cv-4m8h), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2021-31408](https://nvd.nist.gov/vuln/detail/CVE-2021-31408), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-31408 · Whole record: https://cve.day/CVE-2021-31408.json · Rebuilt by cve.day 2026-11-25T22:58:01.018Z
