Moxa Ethernet Switches
CVE-2025-1679
MEDIUM
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain admin web credentials
-
DeliveryInject stored XSS payload into device field
-
ExploitPayload persists in web service
-
ExecutionVictim admin opens affected page
-
ImpactScript executes in victim browser session
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the attacker to already possess authenticated administrative access to the switch's web management service (PR:H), so this is not a remote-unauthenticated flaw despite the AV:N network vector. The malicious script is stored persistently in the device's web service, and triggering the payload requires a second authenticated user to interact with the affected page of the web interface (UI:P). Limiting factors: the high administrative privilege prerequisite, the dependence on victim interaction with the web UI, and the absence of any impact to the device's own confidentiality, integrity, or availability - impact is limited to other users' browser sessions. Realistic risk is therefore confined to environments where multiple users share administrative access to the device UI. |
| Impact | This is a genuinely low-to-moderate priority issue, not a critical one, and the signals are largely consistent. The CVSS 4.0 base score of 4.8 (Medium) reflects the key constraint: PR:H means exploitation requires an already-authenticated administrative account on the device, and UI:P means a victim user must interact with the web interface for the stored payload to fire. EPSS is low at 0.33% (24th percentile), which aligns with the high-privilege barrier - mass automated exploitation is implausible because an attacker must first hold admin credentials. There is no CISA KEV listing and no confirmed public exploit, so there is no evidence of active exploitation. The impact is confined to the 'subsequent system' (SC:L/SI:L) - i.e., the browser/session of other users viewing the device UI - with explicitly no confidentiality, integrity, or availability impact to the switch itself (VC:N/VI:N/VA:N). The primary caveat: the vendor-supplied vector sets UI:P (passive) while a stored XSS typically requires a victim to load the affected page, which is a reasonable passive-interaction model, but defenders should note the realistic precondition is that a second privileged user views attacker-controlled content. No signals conflict materially; the main limiting factor (admin privilege requirement) is the dominant risk reducer. |
| Exploit ScenarioDerived | An attacker who already holds administrative web credentials on a Moxa Ethernet switch injects a malicious script into a stored field in the device's web service. When another authenticated user later opens the affected page in the web interface, the persisted script executes in their browser session, potentially stealing session context or performing actions in that user's context. No public exploit code has been identified, and exploitation requires both prior administrative access and a second user interacting with the UI. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 18, 2026
Stored cross-site scripting (XSS) in the web management interface of Moxa Ethernet switches lets an attacker who already holds administrative credentials plant persistent scripts that execute in the browsers of other authenticated users who view the affected page. Because the attacker must first obtain high-privilege admin access and a second user must interact with the compromised interface, exploitation is constrained, and the device itself suffers no loss of confidentiality, integrity, or availability - only other users' browser sessions are exposed. EPSS is low (0.33%, 24th percentile), no public exploit code or CISA KEV entry is associated with the issue at time of analysis, making this a low-to-moderate priority finding for environments where administrative access to the switch UI is shared among multiple users.
RemediationAI
Obtain and apply the fixed firmware release named in Moxa's security advisory MPSA-257421 (https://www.moxa.com/en/support/product-support/security-advisory/mpsa-257421-cve-2025-1679,-cve-2025-1680-stored-cross-site-scripting-(xss)-and-host-header-injection-vulnerabilities-in), which addresses both CVE-2025-1679 and CVE-2025-1680; exact patched version numbers are not present in the available data and must be taken from that advisory. Until firmware can be updated, reduce exposure by ensuring each administrator uses a distinct account so a single compromised privileged session cannot seed content viewed by others, restricting management-plane access to a dedicated VLAN or jump host with ACLs so only trusted administrators can reach the web UI, and disabling the HTTP management service in favor of HTTPS where supported. Administrators should also avoid opening untrusted links or browsing other sites while logged into the switch UI, since the payload requires an authenticated user to load the affected page; these controls lower likelihood but do not remove the stored payload, so patching remains the definitive fix.
Affected ProductsAI
Moxa Ethernet switches running firmware with the affected web management service are impacted; the vendor's security advisory MPSA-257421 covers CVE-2025-1679 (stored XSS) together with CVE-2025-1680 (host header injection). The advisory, available at https://www.moxa.com/en/support/product-support/security-advisory/mpsa-257421-cve-2025-1679,-cve-2025-1680-stored-cross-site-scripting-(xss)-and-host-header-injection-vulnerabilities-in, should be consulted for the definitive list of affected models and firmware version ranges, since the input data does not provide specific version numbers or CPE strings. A secondary technical write-up is referenced at https://www.hackrtu.com/blog/cg-technical-en-003/.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The flaw is CWE-79 (Improper Neutralization of Input During Web Page Generation), specifically the stored variant: user-supplied input accepted through the switch's web service is persisted and later rendered without adequate encoding, so injected script executes in the context of any browser that loads the affected page. The technology at issue is the embedded HTTP/HTTPS management interface of Moxa Ethernet switches, typically served by the device's firmware web server. Our assessed CVSS v3.1 vector is AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N, which correctly captures that the network-reachable attack surface is gated behind high administrative privileges (PR:H) and victim interaction (UI:R), while the scope change (S:C) and low confidentiality/integrity impact (C:L/I:L) reflect that harm lands on other users' browser sessions rather than on the switch itself (VC:N/VI:N/VA:N in the vendor's CVSS 4.0 vector). The real-world exposure window is limited to deployments where several administrators or operators share login access to the same device UI, enabling one privileged user to target another.
Know when Moxa gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
Stored XSS needs an authenticated admin to inject (PR:H) and a victim to load the page (UI:R); impact crosses into the victim's browser (S:C) with low confidentiality/integrity and no availability effect.
Primary rating from Vendor (moxa).
CVSS VectorVendor: moxa
DescriptionCVE.org
Cross-site Scripting has been identified in Moxa’s Ethernet switches, which allows an authenticated administrative attacker to inject malicious scripts to an affected device’s web service that could impact authenticated users interacting with the device’s web interface. This vulnerability is classified as stored cross-site scripting (XSS); attackers inject malicious scripts into the system, and the scripts persist across sessions. There is no impact to the confidentiality, integrity, and availability of the affected device; no loss of availability within any subsequent systems but has some loss of confidentiality and integrity within the subsequent system.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
An issue was discovered in Moxa NPort 5110 versions prior to 2.6, NPort 5130/5150 Series versions prior to 3.6, NPort 52
Moxa MXView 2.8 allows remote attackers to read web server's private key file, no access control. Rated high severity (C
An issue was discovered in Moxa SoftCMS versions prior to Version 1.6. Rated high severity (CVSS 7.5), this vulnerabilit
Moxa MXView 2.8 allows remote attackers to cause a Denial of Service by sending overly long junk payload for the MXView
An exploitable OS Command Injection vulnerability exists in the web application 'ping' functionality of Moxa AWK-3131A W
An exploitable Cross-Site Request Forgery vulnerability exists in the Web Application functionality of Moxa AWK-3131A Wi
Pre-authentication denial of service in the Moxa TN-4500B series Ethernet switches: improper validation of the username
Certain MOXA devices allow Authenticated Command Injection via /forms/web_importTFTP. Rated high severity (CVSS 8.8), th
An exploitable authenticated command-injection vulnerability exists in the web server functionality of Moxa NPort W2x50A
An exploitable authenticated command-injection vulnerability exists in the web server functionality of Moxa NPort W2x50A
A command injection vulnerability in the web server functionality of Moxa EDR-810 V4.2 build 18041013 allows remote atta
An exploitable nonce reuse vulnerability exists in the Web Application functionality of Moxa AWK-3131A Wireless AP runni
NVD
CVE.org
EPSS
GitHub PoC
Exploit-DB