CVE-2021-31641
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.
Does this matter?
EPSS puts the probability of exploitation in the next 30 days at 14.0%, higher than 97% of all known CVEs. Patch or mitigate before the next change window.
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.
- CVSS 3.1
- 6.1 MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- EPSS
- 13.97% probability · 97th percentile
- Public exploits
- 1 in Exploit-DB · first 1 June 2021
- CISA KEV
- Not listed
- Weakness
- CWE-79: Cross-site scripting
- Affected
- chiyu-tech/bf-430 firmware · chiyu-tech/bf-431 firmware · chiyu-tech/bf-450m firmware · chiyu-tech/semac s2 firmware · chiyu-tech/semac d1 firmware · chiyu-tech/semac d2 firmware · chiyu-tech/semac d4 firmware · chiyu-tech/semac s3v3 firmware · chiyu-tech/semac d2 n300 firmware · chiyu-tech/semac s1 osdp firmware · chiyu-tech/bf-630 firmware · chiyu-tech/bf-631w firmware · chiyu-tech/bf-830w firmware · chiyu-tech/webpass firmware · chiyu-tech/bfminiw firmware
- Source
- cve@mitre.org
In plain terms
It can be reached over a network with no login, but it needs a person to act, so it usually arrives by email or through a web page.
- Reached from
- Over a network. If the affected system can be reached from the internet, so can the flaw.
- Effort
- Nothing outside the attacker's control has to line up, so an attack can be repeated reliably.
- Login needed
- None. No login is needed.
- Someone else involved
- Yes. Someone has to do something, such as open a file or follow a link.
- At risk
- Reading data: limited. Changing data: limited. Stopping the service: none.
- Beyond the affected system
- Yes. The effect can reach systems other than the one that has the flaw.
Read from the CVSS 3.1 vector above. It describes the flaw itself, not how your own systems are set up.
The first public exploit in Exploit-DB is dated 1 June 2021, the day the record was published.
EPSS moved from 14.0% on 24 November 2026 to 14.0% on 5 December 2026. The dashed line is the ten per cent mark our analysts treat as “patch before the next change window”.
Public exploits (1)
Entries in Exploit-DB that cite this CVE. Links go to the Exploit-DB page and to the file in the public repository; nothing is hosted here. A verified tick means the Exploit-DB team confirmed the exploit works against the stated version.
Where to go from here
One vulnerability is rarely the whole question. These are free, and none of them asks for an account.
By email
Our briefing by email: what changed, what to patch and what it means for a UK organisation. Written for the people who have to act on it.
References
- http://packetstormsecurity.com/files/162887/CHIYU-IoT-Cross-Site-Scripting.htmlExploit, Third Party Advisory, VDB Entry
- https://gitbook.seguranca-informatica.pt/cve-and-exploits/cves/chiyu-iot-devices#cve-2021-31641Exploit, Third Party Advisory
- https://seguranca-informatica.pt/dancing-in-the-iot-chiyu-devices-vulnerable-to-remote-attacks/#.YLY_lXmSlPYExploit, Third Party Advisory
- https://www.chiyu-tech.com/msg/message-Firmware-update-87.htmlVendor Advisory
- http://packetstormsecurity.com/files/162887/CHIYU-IoT-Cross-Site-Scripting.htmlExploit, Third Party Advisory, VDB Entry
- https://gitbook.seguranca-informatica.pt/cve-and-exploits/cves/chiyu-iot-devices#cve-2021-31641Exploit, Third Party Advisory
- https://seguranca-informatica.pt/dancing-in-the-iot-chiyu-devices-vulnerable-to-remote-attacks/#.YLY_lXmSlPYExploit, Third Party Advisory
- https://www.chiyu-tech.com/msg/message-Firmware-update-87.htmlVendor Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA, exploits from Exploit-DB. Refreshed daily. Download this record as JSON.