CVE-2024-31972 Cross-site scripting in n/a
Remote attackers can inject malicious JavaScript into Wi-Fi SSID fields, leading to arbitrary code execution when admins view the settings page.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2024-31972?
CVE-2024-31972 is a medium-severity cross-site scripting vulnerability in n/a, published on 30 Oct 2024. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official description
EnGenius ESR580 A8J-EMR5000 devices allow a remote attacker to conduct stored XSS attacks that could lead to arbitrary JavaScript code execution (under the context of the user's session) via the Wi-Fi SSID input fields. Web scripts embedded into the vulnerable fields this way are executed immediately when a user logs into the admin page. This affects /admin/wifi/wlan1 and /admin/wifi/wlan_guest.
Weakness: CWE-79
Which versions are affected by CVE-2024-31972?
How do I fix CVE-2024-31972?
No fix has been published for CVE-2024-31972 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-2024-31972 being exploited?
There is no known exploitation of CVE-2024-31972 in the wild and no public exploit code.
Sources
Also known as GHSA-hxrv-64jf-fgmr.