CVE-2019-10756 Cross-site Scripting in node-red-dashboard

Medium 5.4 Published Updated

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.

PackageAffectedFixed in
node-red-dashboard npmAll versions2.17.0
node-red-dashboard npmAll versions2.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.

Sources

Also known as GHSA-xg59-m7wx-853q, SNYK-JS-NODEREDDASHBOARD-471939.

Is CVE-2019-10756 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free