NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
🛡️
Not in CISA KEV
MEDIUM severity

CVE-2021-31643 — Bf-630 Firmware

MEDIUM

CVE-2021-31643 is a medium-severity (CVSS 5.4) Cross-site Scripting (XSS) vulnerability in chiyu-tech bf-630 firmware. 4 public exploit or proof-of-concept references are indexed, so weaponization risk is real. The records list no fixed version yet; check the vendor advisory below and apply the mitigations in the meantime.

An XSS vulnerability exists in several IoT devices from CHIYU Technology, including SEMAC, Biosense, BF-630, BF-631, and Webpass due to a lack of sanitization on the component if.cgi…

Published
Updated
Affected
11 products
Patched
See advisory
Exploits
4 known
Exploitation data as of Nov 23, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

EPSS Exploitation Probability

via FIRST.org ↗
88.4%probability of exploitation in next 30 days
Very High Risk0.00%
Lower risk than most CVEs100th percentile — riskier than 100% of all scored CVEsHighest risk
0.00%33.3%66.7%100.0%3.8%88.4%May 26Sep 26Nov 26

Probability of exploitation in the next 30 days, from FIRST.org EPSS.

How urgent is this, really

Where this sits among everything scored

Description

An XSS vulnerability exists in several IoT devices from CHIYU Technology, including SEMAC, Biosense, BF-630, BF-631, and Webpass due to a lack of sanitization on the component if.cgi - username parameter.

Affected Products

11 products · 11 configurations
OS
bf-630 firmwarechiyu-tech
all
OS
bf-631 firmwarechiyu-tech
all
OS
biosense firmwarechiyu-tech
all
OS
semac d1 firmwarechiyu-tech
all
OS
semac d2 firmwarechiyu-tech
all
OS
semac d2 n300 firmwarechiyu-tech
all
Exploits & PoCs
4

Research use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.

EDB-49922webappscgi

CHIYU IoT devices - Multiple Cross-Site Scripting (XSS)

by sirpedrotavares · Jun 1, 2021

Detection & mitigation playbook

Vendor / appliance
  1. Detect

    Inventory every chiyu-tech bf-630 firmware deployment and check each version against the affected-products list above.

  2. Remediation status

    The records we use list no fixed version for CVE-2021-31643. Check the chiyu-tech bf-630 firmware advisory for a patched release, and apply the workarounds below until you can upgrade.

  3. Mitigate without a patch

    Escape or sanitise the affected output on the server side rather than relying on client-side filtering, and add a Content-Security-Policy that blocks inline script execution so injected markup cannot run even if it reaches the page. Alongside that, restrict the management interface to trusted networks and apply the vendor's recommended configuration mitigations.

Frequently Asked Questions

An XSS vulnerability exists in several IoT devices from CHIYU Technology, including SEMAC, Biosense, BF-630, BF-631, and Webpass due to a lack of sanitization on the component if.cgi - username parameter.
O3 Security · Runtime Protection

Is CVE-2021-31643 being exploited in your environment?

Detect and block the exploit chain at execution, on systems you cannot patch yet.