Vulnerabilities in pkg:npm/dmn-js-properties-panel
PACKAGEGHSA-h9wr-xr4r-66fh is a HIGH cross-site scripting vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')) affecting Dmn js properties panel libraries in the npm ecosystem. The issue involves cross-site scripting in dmn-js-properties-panel. Remediation is available by upgrading affected packages to version 0.3.0.
pkg:npm/dmn-js-properties-panel
Vulnerability advisories affecting package pkg:npm/dmn-js-properties-panel. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-h9wr-xr4r-66fh | - | HIGH | Cross-Site Scripting in dmn-js-properties-panel |
GHSA-h9wr-xr4r-66fh at a Glance
How to Fix GHSA-h9wr-xr4r-66fh
To remediate this vulnerability, upgrade all affected Dmn js properties panel dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install dmn-js-properties-panel@0.3.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls dmn-js-properties-panel
How to Check if You Are Affected
To determine whether your Node.js application is affected by GHSA-h9wr-xr4r-66fh, inspect your project dependencies using npm:
npm ls dmn-js-properties-panel
Analyze the terminal output to locate any version of Dmn js properties panel in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.3.0), your application is affected.
Note: The npm ls dmn-js-properties-panel command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'), where the product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. In Dmn js properties panel, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
GHSA-h9wr-xr4r-66fh Affected Dmn js properties panel Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
dmn-js-properties-panel
|
npm |
< 0.3.0
|
0.3.0
|
References
Frequently Asked Questions
What is GHSA-h9wr-xr4r-66fh?
Which Dmn js properties panel versions are affected?
What version fixes GHSA-h9wr-xr4r-66fh?
Is dmn-js-properties-panel affected?
What CWE is associated with GHSA-h9wr-xr4r-66fh?
How can I check npm dependencies for GHSA-h9wr-xr4r-66fh?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-h9wr-xr4r-66fh",
"modified" : "2020-08-31T18:46:37Z",
"published" : "2020-09-03T18:20:20Z",
"aliases" : [ ],
"summary" : "Cross-Site Scripting in dmn-js-properties-panel",
"details" : "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.\n\n\n## Recommendation\n\nUpgrade to version 0.3.0 or later.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "dmn-js-properties-panel"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.3.0"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://www.npmjs.com/advisories/1081"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-79" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2020-08-31T18:46:37Z",
"nvd_published_at" : null
}
}