Skip to main content
Vulnerability Database/CVE-2025-34266

CVE-2025-34266: Advantech Wise-deviceon Server XSS Vulnerability

CVE-2025-34266 is a stored XSS vulnerability in Advantech WISE-DeviceOn Server affecting versions prior to 5.4. Attackers can inject malicious scripts through AddIns menu entries. This article covers technical details, affected versions, impact, and mitigation strategies.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2025-34266 Overview

CVE-2025-34266 is a stored cross-site scripting (XSS) vulnerability in Advantech WISE-DeviceOn Server versions prior to 5.4. The flaw exists in the /rmm/v1/plugin-config/addins/menus endpoint, which accepts label and path values when an authenticated user creates or edits an AddIns menu entry. The server persists these values in plugin configuration data and later renders them in the AddIns UI without HTML sanitization. An attacker who can authenticate can inject JavaScript that executes in the browser session of any user who views the affected AddIns entry.

Critical Impact

Successful exploitation enables session compromise, action execution as the victim, and lateral movement across administrative WISE-DeviceOn functions.

Affected Products

  • Advantech WISE-DeviceOn Server versions prior to 5.4
  • Deployments exposing the /rmm/v1/plugin-config/addins/menus API endpoint
  • WISE-DeviceOn management consoles rendering AddIns menu entries

Discovery Timeline

  • 2025-12-05 - CVE-2025-34266 published to the National Vulnerability Database (NVD)
  • 2026-06-17 - Last updated in NVD database

Technical Details for CVE-2025-34266

Vulnerability Analysis

The vulnerability is a stored cross-site scripting flaw classified under CWE-79. It affects the AddIns menu configuration workflow inside the WISE-DeviceOn remote monitoring and management (RMM) API surface. Attackers with a valid authenticated session and permission to modify plugin configuration submit crafted label or path fields to /rmm/v1/plugin-config/addins/menus. The server stores the raw payload in plugin configuration data. When another operator loads the AddIns UI, the stored payload renders directly into the DOM and executes in the victim's browser context.

Exploitation requires authentication and user interaction, which restricts opportunistic mass exploitation. However, WISE-DeviceOn manages Advantech IoT devices at scale, so a compromised administrator session can pivot into device control, credential theft, or unauthorized RMM actions across the managed fleet.

Root Cause

The root cause is missing output encoding and input sanitization on the label and path properties of the AddIns menu configuration object. The server treats these fields as opaque strings on write and as trusted HTML on read, violating the separation between data and markup.

Attack Vector

The attack vector is network-based and requires low-privilege authenticated access. An attacker sends a crafted POST or PUT request to /rmm/v1/plugin-config/addins/menus containing script markup inside the label or path field. The payload persists and triggers whenever a legitimate user renders or interacts with the AddIns menu entry.

No verified public exploit code is available. See the VulnCheck Advisory: WISE DeviceOn XSS and the Advantech Security Advisory for technical details.

Detection Methods for CVE-2025-34266

Indicators of Compromise

  • Requests to /rmm/v1/plugin-config/addins/menus containing HTML tags, <script> fragments, javascript: URIs, or event handlers such as onerror= and onload= in the label or path fields.
  • AddIns menu entries whose stored label or path values contain angle brackets, encoded script markup, or unusual protocol handlers.
  • Outbound browser requests from administrator workstations to unfamiliar domains shortly after loading the WISE-DeviceOn AddIns UI.

Detection Strategies

  • Inspect WISE-DeviceOn web server logs for POST and PUT requests to the AddIns menu endpoint and flag payloads containing HTML control characters.
  • Query stored plugin configuration data for AddIns entries containing <, >, javascript:, or data: sequences in the label and path fields.
  • Correlate administrator session anomalies, such as unexpected API calls or new plugin activity, with recent AddIns menu edits.

Monitoring Recommendations

  • Enable audit logging for all plugin configuration changes and forward events to a centralized SIEM for retention and correlation.
  • Alert on modifications to AddIns menu entries performed by accounts that do not normally manage plugins.
  • Monitor browser-side telemetry from administrative workstations for script execution or DOM mutations originating from the WISE-DeviceOn console.

How to Mitigate CVE-2025-34266

Immediate Actions Required

  • Upgrade Advantech WISE-DeviceOn Server to version 5.4 or later as documented in the Advantech Security Advisory.
  • Audit existing AddIns menu entries and remove or sanitize any label or path values containing HTML or script markup.
  • Rotate administrative session tokens and credentials for accounts that may have viewed a poisoned AddIns entry.

Patch Information

Advantech has released WISE-DeviceOn Server 5.4, which addresses the stored XSS in the AddIns menu configuration path. Refer to the vendor advisory and DeviceOn Resource Documentation for upgrade procedures and release notes.

Workarounds

  • Restrict access to plugin configuration endpoints using role-based access controls so only trusted administrators can modify AddIns menus.
  • Place the WISE-DeviceOn management console behind a web application firewall that blocks HTML markup in requests to /rmm/v1/plugin-config/addins/menus.
  • Enforce a Content Security Policy (CSP) on the WISE-DeviceOn UI to limit inline script execution while the patch is deployed.
bash
# Example WAF rule (ModSecurity) blocking HTML markup in AddIns menu writes
SecRule REQUEST_URI "@beginsWith /rmm/v1/plugin-config/addins/menus" \
    "phase:2,deny,status:400,id:1002566,\
    msg:'Potential stored XSS in WISE-DeviceOn AddIns menu',\
    chain"
  SecRule ARGS:label|ARGS:path "@rx (?i)(<script|javascript:|onerror=|onload=|<img|<svg)"

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.