Cross-Site Scripting in cmmn-js-properties-panelGHSA-vmh4-322v-cfpc
GHSA-vmh4-322v-cfpc is a security vulnerability in cmmn-js-properties-panel. A fix is available for cmmn-js-properties-panel — see the affected versions and patch details below.
Real-World Exposure
How broadly this vulnerability is actually deployed: weekly install volume shows current usage, and reverse-dependency count shows how many other packages break if it stays unpatched.
cmmn-js-properties-panelnpmDescription
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.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 📦npm | cmmn-js-properties-panel | all versions | 0.8.0npm install cmmn-js-properties-panel@0.8.0 |
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for cmmn-js-properties-panel, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update cmmn-js-properties-panel to 0.8.0 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-vmh4-322v-cfpc is resolved across your whole dependency graph.
Workarounds
Escape or sanitise the affected output on the server side rather than relying on client-side filtering, and add a Content-Security-Policy that blocks inline script execution so injected markup cannot run even if it reaches the page.
Frequently Asked Questions
Is GHSA-vmh4-322v-cfpc in your dependencies?
Find it across npm, including transitive dependencies.