# CVE-2021-31404: Timing side channel vulnerability in UIDL request handler in Vaadin 10, 11-14, and 15-18

- Severity: Medium 4.0 (CVSS:3.1, scored by Vaadin) `CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:L/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.23%, higher than 15% of CVEs (2026-12-01)
- Published: 2021-04-19T14:51:25.000Z
- Modified: 2026-06-17T03:51:42.963Z
- Also known as: GHSA-xwg3-qrcg-w9x6
- Weaknesses: CWE-203, CWE-208
- Assigned by: Vaadin

## Description

Non-constant-time comparison of CSRF tokens in UIDL request handler in com.vaadin:flow-server versions 1.0.0 through 1.0.13 (Vaadin 10.0.0 through 10.0.16), 1.1.0 prior to 2.0.0 (Vaadin 11 prior to 14), 2.0.0 through 2.4.6 (Vaadin 14.0.0 through 14.4.6), 3.0.0 prior to 5.0.0 (Vaadin 15 prior to 18), and 5.0.0 through 5.0.2 (Vaadin 18.0.0 through 18.0.5) allows attacker to guess a security token via timing attack.

(As written by CVE List.)

## Affected

- Vaadin Vaadin: from 10.0.0 before *; from 10.0.0 before 10.0.17; from 11.0.0 before 14.0.0; from 14.0.0 before 14.4.7; from 15.0.0 before 17.0.0; from 18.0.0 before 18.0.6
- Vaadin flow-server: from 1.0.0 before *
- com.vaadin:flow-server (Maven): from 1.0.0 before 1.0.14; from 1.1.0 before 2.4.7; from 3.0.0 before 5.0.3
- vaadin flow: from 1.0.0 before 1.0.14; from 1.1.0 before 2.0.0; from 2.0.0 before 2.4.7; from 3.0.0 before 5.0.0; from 5.0.0 before 5.0.3

## Every score

- Vaadin: CVSS:3.1 4.0 Medium `CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N`
- GitHub: CVSS:3.1 4.0 Medium `CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N`
- NVD: CVSS:3.1 2.5 Low `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N`
- NVD: CVSS:2.0 1.9 Low `AV:L/AC:M/Au:N/C:P/I:N/A:N`

## References

- <https://vaadin.com/security/cve-2021-31404> (vendor-advisory, web)
- <https://github.com/vaadin/flow/pull/9875> (patch, third-party-advisory, web)
- <https://github.com/vaadin/flow/security/advisories/GHSA-xwg3-qrcg-w9x6> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-31404> (advisory)

## Sources

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

---

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