CVE-2021-31641 Cross-site scripting in n/a

Medium 6.1 Published Updated

Unauthenticated attackers can execute arbitrary scripts via XSS in HTTP 404 responses on multiple CHIYU Technology IoT devices.

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
None listed

What is CVE-2021-31641?

CVE-2021-31641 is a medium-severity cross-site scripting vulnerability in n/a, published on 1 Jun 2021. 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

An unauthenticated XSS vulnerability exists in several IoT devices from CHIYU Technology, including BF-630, BF-450M, BF-430, BF-431, BF631-W, BF830-W, Webpass, BF-MINI-W, and SEMAC due to a lack of sanitization when the HTTP 404 message is generated.

Weakness: CWE-79

Which versions are affected by CVE-2021-31641?

It affects 15 products.

Products include Chiyu-Tech Bf-430 Firmware, Chiyu-Tech Bf-431 Firmware, Chiyu-Tech Bf-450m Firmware, Chiyu-Tech Bf-630 Firmware, Chiyu-Tech Bf-631w Firmware, Chiyu-Tech Bf-830w Firmware and 9 more.

How do I fix CVE-2021-31641?

No fix has been published for CVE-2021-31641 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-2021-31641 being exploited?

There is no known exploitation of CVE-2021-31641 in the wild and no public exploit code.

Sources

Also known as GHSA-j8pq-98x9-wx56.

Is CVE-2021-31641 in your software?

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

Check your SBOMs for free