CVE-2022-47187 File upload XSS vulnerability in Generex CS141

Medium 5.3 Published Updated

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.

Sources

Also known as GHSA-hqq7-2cj4-xmjf.

Is CVE-2022-47187 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free