Description
OpenBK7231T's CHANNEL_SetLabel (src/cmnds/cmd_channels.c) stores channel labels received via the MQTT SetChannelLabel command using strdup with no HTML sanitization. CHANNEL_GetLabel returns these labels unsanitized, and they are rendered via hprintf255 at 15+ locations in src/httpserver/http_fns.c with no HTML encoding.
Published: 2026-08-05
Score: 8.5 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

OpenBK7231T's CHANNEL_SetLabel function (src/cmnds/cmd_channels.c) stores channel labels received via the MQTT SetChannelLabel command with strdup, omitting any HTML sanitization. When the label is retrieved with CHANNEL_GetLabel, the raw data is returned and rendered in the web interface using hprintf255 at over fifteen locations within src/httpserver/http_fns.c, without HTML encoding. This results in a stored cross‑site scripting vulnerability, allowing an attacker to embed malicious JavaScript that will execute in any browser that views the device’s web panel, potentially enabling session hijack, credential theft, or other client‑side compromise.

Affected Systems

The vulnerability affects the OpenBK7231T_App firmware released by openshwprojects. No specific version range is listed in the advisory, so all current and future builds that use the vulnerable CHANNEL_SetLabel implementation are at risk.

Risk and Exploitability

The CVSS score of 8.5 indicates high severity. The EPSS score of 0.0018 (approximately <1%) shows a very low but nonzero likelihood that this vulnerability is actively exploited. The description suggests the common deployment of MQTT brokers without authentication or with weak access controls, so it is inferred that an attacker could reach the vulnerable command. Because the flaw is triggered by MQTT traffic, it is inferred that the attack can be performed from any network location that can reach the broker, making it broadly exploitable in the absence of access restrictions.

Generated by OpenCVE AI on August 10, 2026 at 21:02 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the OpenBK7231T firmware to a release that sanitizes or validates channel labels before storage and HTML‑encoding before output
  • Configure the MQTT broker to require authentication and restrict the SetChannelLabel command to authorized devices only
  • Implement or enforce input validation on the device side to strip or escape any HTML or JavaScript content before it is written to the channel label store

Generated by OpenCVE AI on August 10, 2026 at 21:02 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 10 Aug 2026 12:00:00 +0000

Type Values Removed Values Added
Description OpenBK7231T's CHANNEL_SetLabel() (src/cmnds/cmd_channels.c) stores channel labels received via the MQTT SetChannelLabel command using strdup() with no HTML sanitization. CHANNEL_GetLabel() returns these labels unsanitized, and they are rendered via hprintf255() at 15+ locations in src/httpserver/http_fns.c with no HTML encoding. An attacker with MQTT broker access (commonly unauthenticated in real deployments) can set a channel label containing a <script> payload that executes when any user views the device's web panel. OpenBK7231T's CHANNEL_SetLabel (src/cmnds/cmd_channels.c) stores channel labels received via the MQTT SetChannelLabel command using strdup with no HTML sanitization. CHANNEL_GetLabel returns these labels unsanitized, and they are rendered via hprintf255 at 15+ locations in src/httpserver/http_fns.c with no HTML encoding.
Title OpenBK7231T - Stored XSS via Unsanitized MQTT-Set Channel Labels OpenBK7231T Stored XSS via Unsanitized MQTT-Set Channel Labels

Mon, 10 Aug 2026 11:45:00 +0000

Type Values Removed Values Added
Title OpenBK7231T Stored XSS via Unsanitized MQTT-Set Channel Labels OpenBK7231T - Stored XSS via Unsanitized MQTT-Set Channel Labels

Fri, 07 Aug 2026 10:30:00 +0000

Type Values Removed Values Added
First Time appeared Openshwprojects
Openshwprojects openbk7231t App
Vendors & Products Openshwprojects
Openshwprojects openbk7231t App

Wed, 05 Aug 2026 17:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Wed, 05 Aug 2026 13:15:00 +0000

Type Values Removed Values Added
Description OpenBK7231T's CHANNEL_SetLabel() (src/cmnds/cmd_channels.c) stores channel labels received via the MQTT SetChannelLabel command using strdup() with no HTML sanitization. CHANNEL_GetLabel() returns these labels unsanitized, and they are rendered via hprintf255() at 15+ locations in src/httpserver/http_fns.c with no HTML encoding. An attacker with MQTT broker access (commonly unauthenticated in real deployments) can set a channel label containing a <script> payload that executes when any user views the device's web panel.
Title OpenBK7231T Stored XSS via Unsanitized MQTT-Set Channel Labels
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 8.5, 'vector': 'CVSS:3.1/AV:A/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N'}


Subscriptions

Openshwprojects Openbk7231t App
cve-icon MITRE

Status: PUBLISHED

Assigner: TuranSec

Published:

Updated: 2026-08-10T11:46:52.287Z

Reserved: 2026-08-05T12:23:34.967Z

Link: CVE-2026-71274

cve-icon Vulnrichment

Updated: 2026-08-05T15:56:00.518Z

cve-icon NVD

Status : Received

Published: 2026-08-05T13:24:51.850

Modified: 2026-08-10T12:17:29.913

Link: CVE-2026-71274

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-10T21:15:07Z

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')