GHSA-vpj4-89q8-rh38 Cross-Site Scripting in bpmn-js-properties-panel

Not scored Published

Attackers can inject arbitrary JavaScript into embedding websites via specially configured diagrams in the BPMN properties panel library.

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-vpj4-89q8-rh38?

GHSA-vpj4-89q8-rh38 is a cross-site scripting vulnerability in bpmn-js-properties-panel, published on 3 Sep 2020. 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

Versions of bpmn-js-properties-panel prior to 0.31.0 are vulnerable to Cross-Site Scripting (XSS). The package fails to sanitize input in specially configured diagrams, which may allow attackers to inject arbitrary JavaScript in the embedding website.

Recommendation

Upgrade to version 0.31.0 or later.

Which versions are affected by GHSA-vpj4-89q8-rh38?

2 open source packages ship an affected version, including bpmn-js-properties-panel.

PackageAffectedFixed in
bpmn-js-properties-panel npmAll versions0.31.0
bpmn-js-properties-panel npmAll versions0.31.0

How do I fix GHSA-vpj4-89q8-rh38?

Upgrade bpmn-js-properties-panel to 0.31.0 or later.

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-vpj4-89q8-rh38 being exploited?

There is no known exploitation of GHSA-vpj4-89q8-rh38 in the wild and no public exploit code.

Sources

Is GHSA-vpj4-89q8-rh38 in your software?

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

Check your SBOMs for free