CVE-2019-10771 Cross-Site Scripting in iobroker.web
Attackers can inject malicious scripts via unescaped GET URL paths in the ioBroker web adapter, potentially executing code in user browsers.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2019-10771?
CVE-2019-10771 is a medium-severity cross-site scripting vulnerability in iobroker.web, published on 25 Nov 2019. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
Characters in the GET url path are not properly escaped and can be reflected in the server response.
Weakness: CWE-79
Which versions are affected by CVE-2019-10771?
2 open source packages ship an affected version, including iobroker.web. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
iobroker.web npm | All versions | 2.4.10 |
iobroker.web npm | All versions | 2.4.10 |
Products include Iobroker Iobroker.web.
How do I fix CVE-2019-10771?
Upgrade iobroker.web to 2.4.10 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-10771 being exploited?
There is no known exploitation of CVE-2019-10771 in the wild and no public exploit code.
Sources
Also known as GHSA-6rjc-4pwr-3vp7.