CVE-2021-42751 Cross-site scripting in n/a
Remote attackers with administrative access can inject arbitrary JavaScript into rule node descriptions in ThingsBoard, potentially leading to code execution or account takeover.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2021-42751?
CVE-2021-42751 is a medium-severity cross-site scripting vulnerability in n/a, published on 12 Aug 2022. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.
Official description
A cross-site scripting (XSS) vulnerability in Rule Engine in ThingsBoard 3.3.1 allows remote attackers (with administrative access) to inject arbitrary JavaScript within the description of a rule node.
Weakness: CWE-79
Which versions are affected by CVE-2021-42751?
It affects 1 product.
Products include Thingsboard Thingsboard.
How do I fix CVE-2021-42751?
No fix has been published for CVE-2021-42751 yet. Limit exposure of the affected software until one is available.
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-2021-42751 being exploited?
There is no known exploitation of CVE-2021-42751 in the wild and no public exploit code.
Public exploit code: 1 Exploit-DB entry.
Other vulnerabilities in n/a
Sources
Also known as GHSA-cm2p-96gm-hwf2.