Description
OpenBK7231T's http_fn_ota_exec() (src/httpserver/http_fns.c) reflects the `host` query parameter directly into an HTML response via hprintf255(request, "<h3>OTA requested for %s!</h3>", tmpA) with no HTML encoding, allowing a crafted URL such as /ota_exec?host=<script>alert(1)</script> to execute JavaScript in an authenticated admin's browser when they click a malicious link.
Published: 2026-08-05
Score: 5.4 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability resides in the OTA execution handler of OpenBK7231T, where the host query parameter is inserted unescaped into an HTML response. The missing HTML encoding allows a crafted host string to inject script payloads, creating a reflected Cross‑Site Scripting (XSS) vector that can execute arbitrary JavaScript in the browser of an authenticated administrator who opens the malicious link.

Affected Systems

Affected systems are devices running the OpenBK7231T firmware supplied by openshwprojects under the OpenBK7231T_App product name. No specific firmware versions are listed, so all releases containing the identified http_fn_ota_exec implementation are potentially vulnerable.

Risk and Exploitability

The CVSS score of 5.4 indicates a moderate impact, with the EPSS score currently unavailable and the vulnerability not yet listed in CISA’s KEV catalog. Exploitation requires the attacker to obtain access to an administrator session that can trigger the OTA endpoint; the attack is limited to reflected XSS and does not provide remote code execution outside of the web browser context.

Generated by OpenCVE AI on August 5, 2026 at 14:53 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Deploy the latest firmware from openshwprojects, which validates or HTML‑encodes the host query parameter before inclusion in the response.
  • Restrict or disable the OTA endpoint for non‑administrator accounts to prevent accidental exploitation.
  • As a temporary workaround, configure the device or an upstream firewall to reject or encode special characters (e.g., <, >, /, =) in the host parameter, thereby neutralizing script tags.

Generated by OpenCVE AI on August 5, 2026 at 14:53 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

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

Type Values Removed Values Added
Metrics ssvc

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


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

Type Values Removed Values Added
Description OpenBK7231T's http_fn_ota_exec() (src/httpserver/http_fns.c) reflects the `host` query parameter directly into an HTML response via hprintf255(request, "<h3>OTA requested for %s!</h3>", tmpA) with no HTML encoding, allowing a crafted URL such as /ota_exec?host=<script>alert(1)</script> to execute JavaScript in an authenticated admin's browser when they click a malicious link.
Title OpenBK7231T Reflected XSS via OTA host Parameter
Weaknesses CWE-79
References
Metrics cvssV3_1

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


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: TuranSec

Published:

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

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

Link: CVE-2026-71275

cve-icon Vulnrichment

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

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-05T15:00:05Z

Weaknesses
  • CWE-79

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