CVE-2025-15022: Vaadin server Cross-Site Scripting Vulnerability
MODERATECVE-2025-15022 is a MODERATE cross-site scripting vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')) affecting Vaadin server libraries in the Maven ecosystem. The issue involves vaadin vulnerable to cross-site scripting. Remediation is available by upgrading affected packages to version 7.7.50, 8.30.0, 23.6.6, 24.8.14, 24.9.7.
CVE-2025-15022 at a Glance
How to Fix CVE-2025-15022
To remediate this vulnerability, upgrade all affected Vaadin server dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
<dependency>
<groupId>com.vaadin</groupId>
<artifactId>vaadin-server</artifactId>
<version>7.7.50</version>
</dependency>
<dependency>
<groupId>com.vaadin</groupId>
<artifactId>vaadin-server</artifactId>
<version>8.30.0</version>
</dependency>
<dependency>
<groupId>com.vaadin</groupId>
<artifactId>vaadin</artifactId>
<version>23.6.6</version>
</dependency>
<dependency>
<groupId>com.vaadin</groupId>
<artifactId>vaadin</artifactId>
<version>24.8.14</version>
</dependency>
<dependency>
<groupId>com.vaadin</groupId>
<artifactId>vaadin</artifactId>
<version>24.9.7</version>
</dependency>
<dependency>
<groupId>com.vaadin</groupId>
<artifactId>vaadin-spreadsheet-flow</artifactId>
<version>23.6.6</version>
</dependency>
<dependency>
<groupId>com.vaadin</groupId>
<artifactId>vaadin-spreadsheet-flow</artifactId>
<version>24.8.14</version>
</dependency>
<dependency>
<groupId>com.vaadin</groupId>
<artifactId>vaadin-spreadsheet-flow</artifactId>
<version>24.9.7</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=com.vaadin
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2025-15022, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=com.vaadin
Analyze the terminal output to locate any version of Vaadin server in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 7.7.50), your application is affected.
Note: The mvn dependency:tree -Dincludes=com.vaadin command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'), where the product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. In Vaadin server, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2025-15022 Affected Vaadin server Versions
8 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
com.vaadin:vaadin-server
|
Maven |
≥ 7.0.0
< 7.7.50
|
7.7.50
|
|
com.vaadin:vaadin-server
|
Maven |
≥ 8.0.0
< 8.30.0
|
8.30.0
|
|
com.vaadin:vaadin
|
Maven |
≥ 23.1.0
< 23.6.6
|
23.6.6
|
|
com.vaadin:vaadin
|
Maven |
≥ 24.0.0
< 24.8.14
|
24.8.14
|
|
com.vaadin:vaadin
|
Maven |
≥ 24.9.0
< 24.9.7
|
24.9.7
|
|
com.vaadin:vaadin-spreadsheet-flow
|
Maven |
≥ 23.1.0
< 23.6.6
|
23.6.6
|
|
com.vaadin:vaadin-spreadsheet-flow
|
Maven |
≥ 24.0.0
< 24.8.14
|
24.8.14
|
|
com.vaadin:vaadin-spreadsheet-flow
|
Maven |
≥ 24.9.0
< 24.9.7
|
24.9.7
|
References
Frequently Asked Questions
What is CVE-2025-15022?
Which Vaadin server versions are affected?
What version fixes CVE-2025-15022?
Is vaadin-server affected?
Is vaadin affected?
What CWE is associated with CVE-2025-15022?
How can I check Maven dependencies for CVE-2025-15022?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-7wwv-79xw-rvvg",
"modified" : "2026-01-05T19:48:50Z",
"published" : "2026-01-05T09:30:19Z",
"aliases" : [ "CVE-2025-15022" ],
"summary" : "Vaadin vulnerable to Cross-site Scripting",
"details" : "Action captions in Vaadin accept HTML by default but were not sanitized, potentially allowing Cross-site Scripting (XSS) if caption content is derived from user input.\n\nIn Vaadin Framework 7 and 8, the Action class is a general-purpose class that may be used by multiple components. The fixed versions sanitize captions by default and provide an API to explicitly enable HTML content mode for backwards compatibility.\n\nIn Vaadin 23 and newer, the Action class is only used by the Spreadsheet component. The fixed versions sanitize HTML using Jsoup with a relaxed safelist.\n\nVaadin 14 is not affected as Spreadsheet component was not supported.\n\nUsers of affected versions should apply the following mitigation or upgrade. Releases that have fixed this issue include:\n\nProduct version\nVaadin 7.0.0 - 7.7.49\nVaadin 8.0.0 - 8.29.1\nVaadin 23.1.0 - 23.6.5\nVaadin 24.0.0 - 24.8.13\nVaadin 24.9.0 - 24.9.6\n\nMitigation\nUpgrade to 7.7.50\nUpgrade to 8.30.0\nUpgrade to 23.6.6\nUpgrade to 24.8.14 or 24.9.7\nUpgrade to 25.0.0 or newer\n\nArtifacts Maven coordinatesVulnerable versionsFixed versioncom.vaadin:vaadin-server\n7.0.0 - 7.7.49\n≥7.7.50\ncom.vaadin:vaadin-server\n8.0.0 - 8.29.1\n≥8.30.0\ncom.vaadin:vaadin\n23.1.0 - 23.6.5\n≥23.6.6\ncom.vaadin:vaadin24.0.0 - 24.8.13\n≥24.8.14\ncom.vaadin:vaadin24.9.0 - 24.9.6\n≥24.9.7\ncom.vaadin:vaadin-spreadsheet-flow\n23.1.0 - 23.6.5\n≥23.6.6\ncom.vaadin:vaadin-spreadsheet-flow\n24.0.0 - 24.8.13\n≥24.8.14\ncom.vaadin:vaadin-spreadsheet-flow\n24.9.0 - 24.9.6\n≥24.9.7",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "com.vaadin:vaadin-server"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "7.0.0"
}, {
"fixed" : "7.7.50"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "com.vaadin:vaadin-server"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "8.0.0"
}, {
"fixed" : "8.30.0"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "com.vaadin:vaadin"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "23.1.0"
}, {
"fixed" : "23.6.6"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "com.vaadin:vaadin"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "24.0.0"
}, {
"fixed" : "24.8.14"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "com.vaadin:vaadin"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "24.9.0"
}, {
"fixed" : "24.9.7"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "com.vaadin:vaadin-spreadsheet-flow"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "23.1.0"
}, {
"fixed" : "23.6.6"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "com.vaadin:vaadin-spreadsheet-flow"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "24.0.0"
}, {
"fixed" : "24.8.14"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "com.vaadin:vaadin-spreadsheet-flow"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "24.9.0"
}, {
"fixed" : "24.9.7"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-15022"
}, {
"type" : "WEB",
"url" : "https://github.com/vaadin/flow-components/pull/8285"
}, {
"type" : "WEB",
"url" : "https://github.com/vaadin/flow-components/commit/71046aa3dd08be0907bd03140c33131b94f6e99c"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/vaadin/flow-components"
}, {
"type" : "WEB",
"url" : "https://vaadin.com/security/cve-2025-15022"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-79" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-01-05T19:48:50Z",
"nvd_published_at" : "2026-01-05T08:15:56Z"
}
}