# CVE-2025-15022: Cross-site scripting in Action caption

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 4.8
- **CVSS:** 4.8 (v4.0, CNA) `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/S:N/AU:N/R:U/V:D/RE:L/U:Amber`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: None; Privileges required: Low; User interaction: Active; Confidentiality impact: None; Integrity impact: None; Availability impact: None; Confidentiality impact on other systems: Low; Integrity impact on other systems: Low; Availability impact on other systems: None; S: N; AU: N; R: U; V: D; RE: L; U: Amber
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.50% (percentile 36, 2026-11-26)
- **CWE:** CWE-79
- **Aliases:** GHSA-7wwv-79xw-rvvg
- **Published:** 2026-01-05T07:52:56.478Z
- **Modified:** 2026-10-14T19:10:00.297Z

## Who should check

- Projects that depend on Maven package com.vaadin:vaadin-server (\>= 7.0.0, \< 7.7.50)
- Projects that depend on Maven package com.vaadin:vaadin (\>= 23.1.0, \< 23.6.6)
- Projects that depend on Maven package com.vaadin:vaadin-spreadsheet-flow (\>= 23.1.0, \< 23.6.6)
- Anyone running vaadin \>= 23.1.0, \<= 23.6.5; \>= 24.0.0, \<= 24.8.13; \>= 24.9.0, \<= 24.9.6
- Anyone running vaadin framework \>= 7.0.0, \<= 7.7.49; \>= 8.0.0, \<= 8.29.1
- Anyone running vaadin-spreadsheet-flow \>= 23.1.0, \<= 23.6.5; \>= 24.0.0, \<= 24.8.13; \>= 24.9.0, \<= 24.9.6

## Description

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.

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

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

Vaadin 14 is not affected as Spreadsheet component was not supported.

Users of affected versions should apply the following mitigation or upgrade. Releases that have fixed this issue include:

Product version
Vaadin 7.0.0 - 7.7.49
Vaadin 8.0.0 - 8.29.1
Vaadin 23.1.0 - 23.6.5
Vaadin 24.0.0 - 24.8.13
Vaadin 24.9.0 - 24.9.6

Mitigation
Upgrade to 7.7.50
Upgrade to 8.30.0
Upgrade to 23.6.6
Upgrade to 24.8.14 or 24.9.7
Upgrade to 25.0.0 or newer

Artifacts     Maven coordinatesVulnerable versionsFixed versioncom.vaadin:vaadin-server
7.0.0 - 7.7.49
≥7.7.50
com.vaadin:vaadin-server
8.0.0 - 8.29.1
≥8.30.0
com.vaadin:vaadin
23.1.0 - 23.6.5
≥23.6.6
com.vaadin:vaadin24.0.0 - 24.8.13
≥24.8.14
com.vaadin:vaadin24.9.0 - 24.9.6
≥24.9.7
com.vaadin:vaadin-spreadsheet-flow
23.1.0 - 23.6.5
≥23.6.6
com.vaadin:vaadin-spreadsheet-flow
24.0.0 - 24.8.13
≥24.8.14
com.vaadin:vaadin-spreadsheet-flow
24.9.0 - 24.9.6
≥24.9.7

## Affected and fixed versions

- Maven `com.vaadin:vaadin-server`: affected \>= 7.0.0, \< 7.7.50; fixed 7.7.50, 8.30.0 (osv)
- Maven `com.vaadin:vaadin`: affected \>= 23.1.0, \< 23.6.6; fixed 23.6.6, 24.8.14, 24.9.7 (osv)
- Maven `com.vaadin:vaadin-spreadsheet-flow`: affected \>= 23.1.0, \< 23.6.6; fixed 23.6.6, 24.8.14, 24.9.7 (osv)
- vaadin: \>= 23.1.0, \<= 23.6.5; \>= 24.0.0, \<= 24.8.13; \>= 24.9.0, \<= 24.9.6 (cvelist)
- vaadin framework: \>= 7.0.0, \<= 7.7.49; \>= 8.0.0, \<= 8.29.1 (cvelist)
- vaadin-spreadsheet-flow: \>= 23.1.0, \<= 23.6.5; \>= 24.0.0, \<= 24.8.13; \>= 24.9.0, \<= 24.9.6 (cvelist)

## Mitigation

- Upgrade com.vaadin:vaadin-server to one of 7.7.50, 8.30.0 (or later in the same release line).
- Upgrade com.vaadin:vaadin to one of 23.6.6, 24.8.14, 24.9.7 (or later in the same release line).
- Upgrade com.vaadin:vaadin-spreadsheet-flow to one of 23.6.6, 24.8.14, 24.9.7 (or later in the same release line).
- Vendor workaround: Ensure that Action captions are not derived from untrusted user input, or manually sanitize any user-provided content before using it as an Action caption.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-15022. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-15022.md
Affected: com.vaadin:vaadin-server >= 7.0.0, < 7.7.50; com.vaadin:vaadin >= 23.1.0, < 23.6.6; com.vaadin:vaadin-spreadsheet-flow >= 23.1.0, < 23.6.6
Fixed in: 7.7.50, 8.30.0, 23.6.6, 24.8.14, 24.9.7

Steps:
1. Search this machine and project for com.vaadin:vaadin-server (Maven), com.vaadin:vaadin (Maven), com.vaadin:vaadin-spreadsheet-flow (Maven), vaadin, vaadin framework, vaadin-spreadsheet-flow: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-15022 being exploited?

There is no confirmed exploitation: CVE-2025-15022 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.50% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-15022?

Medium: CVSS 4.8 (v4.0, scored by CNA). Remote, login needed. A user has to take an action, such as opening a link, for the attack to work.

### Which versions are affected by CVE-2025-15022?

com.vaadin:vaadin-server \>= 7.0.0, \< 7.7.50; com.vaadin:vaadin \>= 23.1.0, \< 23.6.6; com.vaadin:vaadin-spreadsheet-flow \>= 23.1.0, \< 23.6.6.

### Is there a fix for CVE-2025-15022?

Yes. Fixed in 7.7.50, 8.30.0, 23.6.6, 24.8.14, 24.9.7. Upgrade com.vaadin:vaadin-server to one of 7.7.50, 8.30.0 (or later in the same release line). Upgrade com.vaadin:vaadin to one of 23.6.6, 24.8.14, 24.9.7 (or later in the same release line). Upgrade com.vaadin:vaadin-spreadsheet-flow to one of 23.6.6, 24.8.14, 24.9.7 (or later in the same release line). Vendor workaround: Ensure that Action captions are not derived from untrusted user input, or manually sanitize any user-provided content before using it as an Action caption.

### How do I check if I'm affected by CVE-2025-15022?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2025-15022>
- patch: <https://github.com/vaadin/flow-components/pull/8285>
- patch: <https://github.com/vaadin/flow-components/commit/71046aa3dd08be0907bd03140c33131b94f6e99c>
- other: <https://vaadin.com/security/cve-2025-15022>
- other: <https://github.com/vaadin/flow-components>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-15022>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-7wwv-79xw-rvvg> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2025-15022> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-15022>
