CVE-2025-15022: Vaadin Cross-site Scripting Vulnerability in Action Captions

com.vaadin:vaadin-server Updated 05 Jan 2026

Summary

05/01/2026
Yes i
Moderate
4.8

CVE-2025-15022: Vaadin vulnerable to Cross-site Scripting. Affects com.vaadin:vaadin-server across 2 version ranges.

>= 7.0.0, < 7.7.50 >= 8.0.0, < 8.30.0

Fixed in 7.7.50 or 8.30.0, 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 a popular open-source framework for building web applications in Java. It allows developers to create rich user interfaces with a focus on simplicity and productivity. The framework includes various components, including the Action class, which is utilized for handling user interactions. However, certain versions of Vaadin have been found to be vulnerable to Cross-site Scripting (XSS) attacks due to improper handling of HTML content in action captions.

Vulnerability Detail

The vulnerability arises from the Action class in Vaadin Framework versions 7 and 8, where action captions accept HTML by default without proper sanitization. This oversight can lead to XSS attacks if caption content is derived from user input, allowing attackers to inject malicious scripts. In Vaadin 23 and newer, while the Action class is limited to the Spreadsheet component, the issue persists unless the HTML content is sanitized. Vaadin 14 is not affected as it does not support the Spreadsheet component.

How To Fix

Fixed versions by release line

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

  • >= 7.0.0, < 7.7.50 7.7.50
  • >= 8.0.0, < 8.30.0 8.30.0

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

Workaround

If immediate upgrading is not feasible, users can mitigate the risk by ensuring that any user-generated content used in action captions is properly sanitized before being displayed. This can be done using libraries like Jsoup to clean the HTML content.

Conclusion

The vulnerability identified as CVE-2025-15022 in the Vaadin framework poses a significant risk due to improper handling of HTML in action captions. Users are strongly advised to upgrade to the latest patched versions to mitigate this risk. For those unable to upgrade immediately, sanitizing user input is crucial to prevent potential XSS attacks.

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

Share this vulnerability

FAQ

XSS is a security vulnerability that allows attackers to inject malicious scripts into web pages viewed by other users, potentially compromising user data and session integrity.

Vaadin Framework versions 7.0.0 to 7.7.49, 8.0.0 to 8.29.1, and 23.1.0 to 23.6.5 are affected. Vaadin 14 is not affected.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software using just the pom.xml file. You can also check your application using the Vulert playground without any signup.

The CVSS score for this vulnerability is 4.8, indicating a moderate severity level.

If an immediate upgrade is not possible, ensure that any user-generated content in action captions is sanitized to prevent XSS attacks.

Related vulnerabilities

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

How To Fix

Fixed versions by release line

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

  • >= 7.0.0, < 7.7.50 7.7.50
  • >= 8.0.0, < 8.30.0 8.30.0

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