CVE-2022-3783 node-red-dashboard ui_text Format ui-component-ctrl.js cross site scripting

Low 3.5 Published Updated

Remote attackers can execute arbitrary scripts via cross-site scripting in the ui_text format handler of the node-red-dashboard plugin.

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-2022-3783?

CVE-2022-3783 is a low-severity cross-site scripting vulnerability in unspecified node-red-dashboard, published on 31 Oct 2022. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

A vulnerability, which was classified as problematic, has been found in node-red-dashboard. This issue affects some unknown processing of the file components/ui-component/ui-component-ctrl.js of the component ui_text Format Handler. The manipulation leads to cross site scripting. The attack may be initiated remotely. The name of the patch is 9305d1a82f19b235dfad24a7d1dd4ed244db7743. It is recommended to apply a patch to fix this issue. The associated identifier of this vulnerability is VDB-212555.

Weakness: CWE-79, CWE-707

Which versions are affected by CVE-2022-3783?

2 open source packages ship an affected version, including node-red-dashboard. It affects 1 product.

PackageAffectedFixed in
node-red-dashboard npmAll versions3.2.0
node-red-dashboard npmAll versions3.2.0

Products include Nodered Node-Red-Dashboard.

How do I fix CVE-2022-3783?

Upgrade node-red-dashboard to 3.2.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-2022-3783 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-3783 exists.

Sources

Also known as GHSA-vrv9-3x3w-ffxw.

Is CVE-2022-3783 in your software?

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

Check your SBOMs for free