VDB
Sign up
MEDIUM

GHSA-7wwv-79xw-rvvg

Vaadin vulnerable to Cross-site Scripting

Quick fix

GHSA-7wwv-79xw-rvvg — com.vaadin:vaadin-server: upgrade to the fixed version with the command below.

# pom.xml: bump <version>7.7.50</version> for com.vaadin:vaadin-server

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.

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

Are you affected?

Enter the version of the package you're using.

Affected packages

Maven/com.vaadin:vaadin-server
Introduced in: 7.0.0Fixed in: 7.7.50
Fix# pom.xml: bump <version>7.7.50</version> for com.vaadin:vaadin-server
Maven/com.vaadin:vaadin-server
Introduced in: 8.0.0Fixed in: 8.30.0
Fix# pom.xml: bump <version>8.30.0</version> for com.vaadin:vaadin-server
Maven/com.vaadin:vaadin
Introduced in: 23.1.0Fixed in: 23.6.6
Fix# pom.xml: bump <version>23.6.6</version> for com.vaadin:vaadin
Maven/com.vaadin:vaadin
Introduced in: 24.0.0Fixed in: 24.8.14
Fix# pom.xml: bump <version>24.8.14</version> for com.vaadin:vaadin
Maven/com.vaadin:vaadin
Introduced in: 24.9.0Fixed in: 24.9.7
Fix# pom.xml: bump <version>24.9.7</version> for com.vaadin:vaadin
Maven/com.vaadin:vaadin-spreadsheet-flow
Introduced in: 23.1.0Fixed in: 23.6.6
Fix# pom.xml: bump <version>23.6.6</version> for com.vaadin:vaadin-spreadsheet-flow
Maven/com.vaadin:vaadin-spreadsheet-flow
Introduced in: 24.0.0Fixed in: 24.8.14
Fix# pom.xml: bump <version>24.8.14</version> for com.vaadin:vaadin-spreadsheet-flow
Maven/com.vaadin:vaadin-spreadsheet-flow
Introduced in: 24.9.0Fixed in: 24.9.7
Fix# pom.xml: bump <version>24.9.7</version> for com.vaadin:vaadin-spreadsheet-flow

References