CVE-2019-10756 Cross-site Scripting in node-red-dashboard
Attackers can inject JavaScript via the ui_notification node in Node-RED dashboard, potentially executing arbitrary code in user browsers.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2019-10756?
CVE-2019-10756 is a medium-severity cross-site scripting vulnerability in node-red-dashboard, published on 8 Oct 2019. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
It is possible to inject JavaScript within node-red-dashboard versions prior to version 2.17.0 due to the ui_notification node accepting raw HTML by default.
Weakness: CWE-79
Which versions are affected by CVE-2019-10756?
2 open source packages ship an affected version, including node-red-dashboard. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
node-red-dashboard npm | All versions | 2.17.0 |
node-red-dashboard npm | All versions | 2.17.0 |
Products include Nodered Node-Red-Dashboard.
How do I fix CVE-2019-10756?
Upgrade node-red-dashboard to 2.17.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 CVE-2019-10756 being exploited?
There is no known exploitation of CVE-2019-10756 in the wild and no public exploit code.
Other vulnerabilities in node-red-dashboard
Sources
Also known as GHSA-xg59-m7wx-853q, SNYK-JS-NODEREDDASHBOARD-471939.