CVE-2020-7470 Cross-site scripting in n/a
Attackers can inject malicious scripts via the Friendly Name field in Sonoff TH devices, 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-2020-7470?
CVE-2020-7470 is a medium-severity cross-site scripting vulnerability in n/a, published on 21 Jan 2020. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.
Official description
Sonoff TH 10 and 16 devices with firmware 6.6.0.21 allows XSS via the Friendly Name 1 field (after a successful login with the Web Admin Password).
Weakness: CWE-79
Which versions are affected by CVE-2020-7470?
It affects 2 products.
Products include Sonoff Th10 Firmware, Sonoff Th16 Firmware.
How do I fix CVE-2020-7470?
No fix has been published for CVE-2020-7470 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-2020-7470 being exploited?
There is no known exploitation of CVE-2020-7470 in the wild and no public exploit code.
Sources
Also known as GHSA-8v5g-fq6x-6r4h.