GHSA-vmh4-322v-cfpc Cross-Site Scripting in cmmn-js-properties-panel
Attackers can inject arbitrary JavaScript into embedding websites via specially configured diagrams in the cmmn-js-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-vmh4-322v-cfpc?
GHSA-vmh4-322v-cfpc is a cross-site scripting vulnerability in cmmn-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 cmmn-js-properties-panel prior to 0.8.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.8.0 or later.
Which versions are affected by GHSA-vmh4-322v-cfpc?
2 open source packages ship an affected version, including cmmn-js-properties-panel.
| Package | Affected | Fixed in |
|---|---|---|
cmmn-js-properties-panel npm | All versions | 0.8.0 |
cmmn-js-properties-panel npm | All versions | 0.8.0 |
How do I fix GHSA-vmh4-322v-cfpc?
Upgrade cmmn-js-properties-panel to 0.8.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-vmh4-322v-cfpc being exploited?
There is no known exploitation of GHSA-vmh4-322v-cfpc in the wild and no public exploit code.