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