# 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-…

- Severity: Medium 6.1 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 14.0%, higher than 96% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 3 links below, marked "exploit"
- Published: 2021-06-01T14:11:39.000Z
- Modified: 2026-06-17T03:52:06.447Z
- Weaknesses: CWE-79
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- chiyu-tech bf-430_firmware: no versions given
- chiyu-tech bf-431_firmware: no versions given
- chiyu-tech bf-450m_firmware: no versions given
- chiyu-tech semac_s2_firmware: no versions given
- chiyu-tech semac_d1_firmware: no versions given
- chiyu-tech semac_d2_firmware: no versions given
- chiyu-tech semac_d4_firmware: no versions given
- chiyu-tech semac_s3v3_firmware: no versions given
- chiyu-tech semac_d2_n300_firmware: no versions given
- chiyu-tech semac_s1_osdp_firmware: no versions given
- chiyu-tech bf-630_firmware: no versions given
- chiyu-tech bf-631w_firmware: no versions given
- chiyu-tech bf-830w_firmware: no versions given
- chiyu-tech webpass_firmware: no versions given
- chiyu-tech bfminiw_firmware: no versions given

## Every score

- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:P/A:N`

## References

- <https://gitbook.seguranca-informatica.pt/cve-and-exploits/cves/chiyu-iot-devices#cve-2021-31641> (exploit, third-party-advisory)
- <https://seguranca-informatica.pt/dancing-in-the-iot-chiyu-devices-vulnerable-to-remote-attacks/#.YLY_lXmSlPY> (exploit, third-party-advisory)
- <http://packetstormsecurity.com/files/162887/CHIYU-IoT-Cross-Site-Scripting.html> (exploit, third-party-advisory, vdb-entry)
- <https://www.chiyu-tech.com/msg/message-Firmware-update-87.html> (vendor-advisory)

## Sources

- CVE List: [CVE-2021-31641](https://www.cve.org/CVERecord?id=CVE-2021-31641), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2021-31641](https://nvd.nist.gov/vuln/detail/CVE-2021-31641), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-31641 · Whole record: https://cve.day/CVE-2021-31641.json · Rebuilt by cve.day 2026-11-25T22:58:01.610Z
