GHSA-jqj4-r483-4gvr Reflected cross-site scripting in default RouteNotFoundError view in Vaadin 10 and 11-13

Not scored Published

Attackers can execute malicious JavaScript in user browsers via crafted URLs due to missing output sanitization in the default RouteNotFoundError view.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is GHSA-jqj4-r483-4gvr?

GHSA-jqj4-r483-4gvr is a cross-site scripting vulnerability in com.vaadin:vaadin-bom, published on 19 Apr 2021. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

Missing output sanitization in default RouteNotFoundError view in com.vaadin:flow-server 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) allows attacker to execute malicious JavaScript via crafted URL.

Which versions are affected by GHSA-jqj4-r483-4gvr?

4 open source packages ship an affected version, including com.vaadin:vaadin-bom.

PackageAffectedFixed in
com.vaadin:vaadin-bom MavenFrom 10.0.010.0.14
com.vaadin:vaadin-bom MavenFrom 10.0.010.0.14
com.vaadin:vaadin-bom MavenFrom 11.0.013.0.6
com.vaadin:vaadin-bom MavenFrom 11.0.013.0.6

How do I fix GHSA-jqj4-r483-4gvr?

Upgrade com.vaadin:vaadin-bom to a fixed version for your release line: 10.0.14 or 13.0.6.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is GHSA-jqj4-r483-4gvr being exploited?

There is no known exploitation of GHSA-jqj4-r483-4gvr in the wild and no public exploit code.

Sources

Is GHSA-jqj4-r483-4gvr in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free