# GHSA-6hgr-2g6q-3rmc: 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 GitHub) `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
- Published: 2021-04-22T16:11:26.000Z
- Modified: 2024-11-28T05:33:29.983Z
- Weaknesses: CWE-287

## 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.

- https://vaadin.com/security/cve-2021-31408

(As written by GitHub Advisory Database.)

## Affected

- com.vaadin:flow-client (Maven): from 5.0.0 before 6.0.5

## References

- <https://github.com/vaadin/flow/security/advisories/GHSA-6hgr-2g6q-3rmc> (web)
- <https://github.com/vaadin/flow/pull/10577> (web)
- <https://github.com/vaadin/flow/commit/815b967fc84fefa8d3a4d72b9a036f48b0d96326> (web)
- <https://github.com/vaadin/flow> (web)
- <https://vaadin.com/security/cve-2021-31408> (web)

## Sources

- GitHub Advisory Database: [GHSA-6hgr-2g6q-3rmc](https://github.com/advisories/GHSA-6hgr-2g6q-3rmc), CC-BY-4.0, modified 2024-11-28

---

Page: https://cve.day/GHSA-6hgr-2g6q-3rmc · Whole record: https://cve.day/GHSA-6hgr-2g6q-3rmc.json · Rebuilt by cve.day 2026-11-25T22:56:27.023Z
