CVE-2019-25027: Reflected cross-site scripting in default RouteNotFoundError view in Vaadin 10 and 11-13

com.vaadin:flow-server Updated 02 Oct 2025

Summary

19/04/2021
Yes i
Moderate
6.1

CVE-2019-25027: Reflected cross-site scripting in default RouteNotFoundError view in Vaadin 10 and 11-13. Affects com.vaadin:flow-server across 2 version ranges.

>= 1.0.0, < 1.0.11 >= 1.1.0, < 1.4.3

Fixed in 1.0.11 or 1.4.3, depending on the release line you run. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Vaadin is an open-source Java framework used for building modern web applications. The com.vaadin:flow-server package is a part of Vaadin and provides server-side components and functionality for the framework. This vulnerability affects versions 1.0.0 through 1.0.10 (Vaadin 10.0.0 through 10.0.13) and 1.1.0 through 1.4.2 (Vaadin 11.0.0 through 13.0.5) of the com.vaadin:flow-server package.

Vulnerability Detail

The vulnerability in the default RouteNotFoundError view of Vaadin allows an attacker to execute malicious JavaScript by exploiting a reflected cross-site scripting (XSS) vulnerability. This occurs due to missing output sanitization in the affected versions. An attacker can craft a malicious URL that, when visited by a user, triggers the execution of the injected JavaScript code. This can lead to various consequences, such as unauthorized access to user data, session hijacking, or defacement of the application.

How To Fix

Latest published version: 25.3.4 as of 23 Oct 2026

Upgrading to it may include breaking changes; the versions below are the minimum fixed release for this vulnerability.

If you can't move to the latest

The minimum fixed version depends on the release line you run.

  • >= 1.0.0, < 1.0.11 1.0.11
  • >= 1.1.0, < 1.4.3 1.4.3

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Workaround

If upgrading to the fixed versions is not immediately feasible, a temporary workaround is to manually sanitize the output in the RouteNotFoundError view. This can be done by applying appropriate output encoding or escaping techniques to any user-generated content that is displayed in the view.

Conclusion

The reflected cross-site scripting vulnerability in the default RouteNotFoundError view of Vaadin can be mitigated by upgrading to the fixed versions of the com.vaadin:flow-server package. If immediate upgrade is not possible, manual output sanitization can serve as a temporary workaround. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for com.vaadin:flow-server →

Share this vulnerability

FAQ

The vulnerability allows an attacker to execute malicious JavaScript, potentially leading to unauthorized access to user data, session hijacking, or defacement of the application.

No, only versions 1.0.0 through 1.0.10 (Vaadin 10.0.0 through 10.0.13) and 1.1.0 through 1.4.2 (Vaadin 11.0.0 through 13.0.5) of the com.vaadin:flow-server package are affected.

You can use Vulert Playground (https://vulert.com/scanner) to check if your application is affected by this vulnerability. Vulert monitors and alerts in real-time for open-source vulnerabilities using just the pom.xml file.

Yes, the CVSS score for this vulnerability is 6.1, indicating a moderate severity level.

You can find more information about this vulnerability, including the CVE identifier (CVE-2019-25027), on the Vaadin security advisory page: https://vaadin.com/security/cve-2019-25027

Related vulnerabilities

Recent vulnerabilities recorded for com.vaadin:flow-server.

How To Fix

Latest published version: 25.3.4 as of 23 Oct 2026

Upgrading to it may include breaking changes; the versions below are the minimum fixed release for this vulnerability.

If you can't move to the latest

The minimum fixed version depends on the release line you run.

  • >= 1.0.0, < 1.0.11 1.0.11
  • >= 1.1.0, < 1.4.3 1.4.3

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback