CVE-2022-47187 File upload XSS vulnerability in Generex CS141
Attackers can inject XSS payloads via uploaded HTML files in the Generex CS141 web interface, potentially executing scripts in victim browsers.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2022-47187?
CVE-2022-47187 is a medium-severity cross-site scripting vulnerability in Generex UPS CS141, published on 28 Sep 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
There is a file upload XSS vulnerability in Generex CS141 below 2.06 version. The web application allows file uploading, making it possible to upload a file with HTML content. When HTML files are allowed, XSS payload can be injected into the uploaded file.
Weakness: CWE-79
Which versions are affected by CVE-2022-47187?
It affects 1 product.
Products include Generex Cs141 Firmware.
How do I fix CVE-2022-47187?
No fix has been published for CVE-2022-47187 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-2022-47187 being exploited?
There is no known exploitation of CVE-2022-47187 in the wild and no public exploit code.
Other vulnerabilities in Generex UPS CS141
- CVE-2022-47190 RCE via file upload vulnerability in Generex CS141
- CVE-2022-42457 Command injection in n/a
- CVE-2022-47192 Admin password reset via file upload vulnerability in Generex CS141
- CVE-2022-47186 Unrestricted Upload of File vulnerability in Generex CS141
- CVE-2022-47188 Improper Input Validation in Generex CS141
Sources
Also known as GHSA-hqq7-2cj4-xmjf.