CVE-2019-10756: Node-RED Dashboard cross-site scripting in ui_notification

CVE-2019-10756 · Severity: low · CVSS 3.1 · Published 2019-10-25

Node-RED Dashboard is a dashboard UI for Node-RED automation systems. A cross-site scripting (XSS) vulnerability in the ui_notification node allows authenticated attackers to inject malicious JavaScript that executes in the browsers of other dashboard users, potentially leading to credential theft, session hijacking, or unauthorized actions within the dashboard.

Technologies: Node-RED Dashboard, node-red-dashboard (npm). Vendors: Node-RED, npm.

Quick answers

Is CVE-2019-10756 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2019-10756 being exploited in the wild.
How severe is CVE-2019-10756?
Low severity, with a CVSS score of 3.1, published 25 October 2019.
Which products and versions are affected?
Node-RED Dashboard < 2.17.0; node-red-dashboard (npm) SEMVER:introduced=0,fixed=2.17.0.
Is there a fix for CVE-2019-10756?
Yes. node-red-dashboard (npm): upgrade to 2.17.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2019-10756 attacked?
It is attacked over the network.
Am I affected by CVE-2019-10756?
Check whether you run Node-RED Dashboard or node-red-dashboard (npm) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • node-red-dashboard (npm): upgrade to 2.17.0 or later
    npm install node-red-dashboard@2.17.0

Technical details

The vulnerability is a reflected or stored cross-site scripting (CWE-79) flaw in the ui_notification node component of node-red-dashboard versions prior to 2.17.0. The node accepts and renders raw HTML by default without proper sanitization, allowing attackers with dashboard access to inject arbitrary JavaScript code. The attack requires user interaction (a user must view the dashboard) and low privileges (basic user access to Node-RED). An attacker can execute arbitrary JavaScript in the victim's browser context, potentially stealing sensitive data or session tokens. The fix was released in version 2.17.0.

Affected products

  • Node-RED Dashboard < 2.17.0

Identifiers

  • CVE-2019-10756
  • GHSA-xg59-m7wx-853q

Timeline

  • 2019-07-24: disclosed
  • 2019-10-08: advisory
  • 2019-10-25: patched: Version 2.17.0 released

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.