Cross-Site Scripting in bpmn-js-properties-panelGHSA-vpj4-89q8-rh38
GHSA-vpj4-89q8-rh38 is a security vulnerability in bpmn-js-properties-panel. A fix is available for bpmn-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.
bpmn-js-properties-panelnpmDescription
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.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 📦npm | bpmn-js-properties-panel | all versions | 0.31.0npm install bpmn-js-properties-panel@0.31.0 |
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for bpmn-js-properties-panel, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update bpmn-js-properties-panel to 0.31.0 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-vpj4-89q8-rh38 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-vpj4-89q8-rh38 in your dependencies?
Find it across npm, including transitive dependencies.