Security Advisory

CVE-2016-9371: Moxa NPort Web Console XSS

Last updated:
  • CVE-2016-9371

CVE-2016-9371 is a cross-site scripting flaw (CWE-79) in Moxa NPort serial device servers: user-controlled input is not neutralized before it is output to a web page. NVD scores it 6.1; an attack needs a user to interact, for example by opening a crafted page. CISA advisory ICSA-16-336-02A lists the fixed firmware per family; the NPort 6110 gets no fix.

Vulnerability summary

CVSS base score

6.1

Medium severity

EPSS score (FIRST)

1.1%

Probability of exploitation in the wild in the next 30 days

CISA KEV catalog

No

Not listed

Published

Vulnerability ID: CVE-2016-9371 · Source: NVD

Affected components

ComponentCPEVersion range
Moxa NPort 5110 and NPort 5130/5150 Seriescpe:2.3:o:moxa:nport_5100_series_firmware:*:*:*:*:*:*:*:*NPort 5110 before 2.7, NPort 5130/5150 before 3.7; fixed in 2.7 and 3.7 (CISA ICSA-16-336-02A). NVD's CPE ends at 2.5 and 3.5 inclusive
Moxa NPort 5200 Seriescpe:2.3:o:moxa:nport_5200_series_firmware:*:*:*:*:*:*:*:*Before 2.9; fixed in 2.9 (CISA ICSA-16-336-02A). NVD's CPE ends at 2.7 inclusive
Moxa NPort 5400 Seriescpe:2.3:o:moxa:nport_5400_series_firmware:*:*:*:*:*:*:*:*Before 3.12; fixed in 3.12 (CISA ICSA-16-336-02A). NVD's CPE ends at 3.10 inclusive
Moxa NPort 5600 Seriescpe:2.3:o:moxa:nport_5600_series_firmware:*:*:*:*:*:*:*:*Before 3.8; fixed in 3.8 (CISA ICSA-16-336-02A). NVD's CPE ends at 3.6 inclusive
Moxa NPort 5100A Series, NPort P5150A and NPort 5200A Seriescpe:2.3:o:moxa:nport_5100a_series_firmware:*:*:*:*:*:*:*:*Before 1.4; fixed in 1.4 (CISA ICSA-16-336-02A). NVD's CPEs for 5100A, P5150A and 5200A end at 1.2 inclusive
Moxa NPort 5150AI-M12, 5250AI-M12 and 5450AI-M12 Seriescpe:2.3:o:moxa:nport_5x50a1-m12_series_firmware:*:*:*:*:*:*:*:*Before 1.3; fixed in 1.3 (CISA ICSA-16-336-02A). NVD's CPE ends at 1.1 inclusive
Moxa NPort 5600-8-DT and 5600-8-DTL Seriescpe:2.3:h:moxa:nport_5600-8-dtl_series_firmware:*:*:*:*:*:*:*:*Before 2.5 per CISA ICSA-16-336-02A; 5600-8-DT fixed in 2.5, the 5600-8-DTL download is listed as version 1.4. NVD has a CPE for the DTL only, ending at 2.3 inclusive
Moxa NPort IA5450A—Before v1.4; fixed in 1.4 (CISA ICSA-16-336-02A). No NVD CPE
Moxa NPort 6000 Series (6x50)cpe:2.3:o:moxa:nport_6100_series_firmware:*:*:*:*:*:*:*:*Before 1.16; fixed in 1.16 (CISA ICSA-16-336-02A). NVD's CPE ends at 1.13 inclusive
Moxa NPort 6110—All versions; no fix, discontinued in December 2008, Moxa recommends replacing the device (CISA ICSA-16-336-02A)

What does this mean for affected devices?

NVD's description ends: "User-controlled input is not neutralized before being output to web page (CROSS-SITE SCRIPTING)." NVD and CISA's CSAF file for ICSA-16-336-02A both class it CWE-79. The CNA, CISA's ICS team (ICS-CERT), labels it "Moxa NPort Device XSS" and gives no score. The record was published on 2017-02-13 (NVD, CVE record).

What can an attacker do with XSS on an NPort?

NVD's Primary score is CVSS v3.0 6.1 (CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N) and CVSS v2 4.3; CISA's CSAF file uses the same 6.1 vector. User interaction is required and the scope is changed: the script runs in the victim's browser, not on the NPort. The practical target is an engineer who is logged in to the NPort web console. Script running in that session can act with the engineer's rights, which on an NPort cover serial port settings, network addresses and firmware updates. Neither CISA nor NVD names the vulnerable page or parameter, and the vector rates confidentiality and integrity impact as low.

Which NPort models and firmware are affected?

Product (CISA wording) Affected (ICSA-16-336-02A) Fixed firmware
NPort 5110 earlier than 2.7 2.7
NPort 5130/5150 Series earlier than 3.7 3.7
NPort 5200 Series earlier than 2.9 2.9
NPort 5400 Series earlier than 3.12 3.12
NPort 5600 Series earlier than 3.8 3.8
NPort 5100A Series and NPort P5150A earlier than 1.4 1.4
NPort 5200A Series earlier than 1.4 1.4
NPort 5150AI-M12, 5250AI-M12 and 5450AI-M12 Series earlier than 1.3 1.3
NPort 5600-8-DT Series earlier than 2.5 2.5
NPort 5600-8-DTL Series earlier than 2.5 download listed as version 1.4
NPort IA5450A earlier than v1.4 1.4
NPort 6000 Series earlier than 1.16 1.16
NPort 6110 all versions none; discontinued December 2008

NVD's description, copied from the original ICS-CERT text, uses lower thresholds (for example "NPort 5110 versions prior to 2.6"), and NVD's CPE configuration ends one or more releases below the CISA fix line. Use the CISA fix versions as the threshold.

The update also fixes the more serious issues in ICSA-16-336-02A, among them CVE-2016-9369 (firmware upload without authentication), CVE-2016-9363 (buffer overflow) and CVE-2016-9366 (brute force of authentication parameters).

How do you fix or mitigate it?

Update every NPort to the CISA fix version or later and replace any NPort 6110, which Moxa discontinued in December 2008. Until then, open the NPort web console only from a dedicated engineering browser, do not follow links to device addresses from email or chat, and log out when the work is done. Keep the device off the internet, behind a firewall that admits only the SCADA and engineering hosts, and use an up-to-date VPN for remote access, per CISA's recommended practices. Our Moxa NPort vulnerability guide covers NPort hardening, and the input handling fix guide covers output encoding in embedded web servers.

CVE-2016-9371 is not in the CISA KEV catalog as of 2026-11-23 (catalog version 2026.11.20, 1,790 entries). FIRST EPSS gives it 0.01055, a percentile of 65.2, in the 2026-11-22 dataset (CISA KEV, FIRST EPSS).

How to fix this class of issueThis advisory's weakness class is Cross-site scripting (XSS). Our practical guide covers how to detect, fix, verify and disclose it: How to fix SQL injection, XSS, resource exhaustion and deserialization flaws in embedded firmware.

Evidence

  • NVD (read 2026-11-23): status Modified; published 2017-02-13, last modified 2026-06-17; NVD Primary CVSS v3.0 6.1 CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N, v2 4.3 AV:N/AC:M/Au:N/C:N/I:P/A:N; CWE-79 (NVD Primary); CPE configurations end at nport_5100_series 2.5 and 3.5, 5200 2.7, 5400 3.10, 5600 3.6, 5100A/P5150A/5200A 1.2, 5x50a1-m12 1.1, 5600-8-dtl 2.3, 6100 1.13 inclusive; description: user-controlled input is not neutralized before being output to web page (cross-site scripting). — NVD
  • CISA CSAF ICSA-16-336-02A (initial 2016, converted to CSAF 2025-06-05), read 2026-11-23: CVE-2016-9371 classed CWE-79, CVSS v3.0 6.1 AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N; affected NPort 5110 before 2.7, 5130/5150 before 3.7, 5200 before 2.9, 5400 before 3.12, 5600 before 3.8, 5100A/P5150A and 5200A before 1.4, 5x50AI-M12 before 1.3, 5600-8-DT/DTL before 2.5, IA5450A before v1.4, 6000 before 1.16, NPort 6110 all versions; Moxa released new firmware for all but the NPort 6110, discontinued December 2008, for which Moxa recommends upgrading the device. — CISA CSAF ICSA-16-336-02A
  • CVE record (checked 2026-11-23): state PUBLISHED, CNA ICS-CERT (icscert), published 2017-02-13; CNA problem type 'Moxa NPort Device XSS'; no CNA CVSS metric and no CISA-ADP metric. — CVE.org
  • Not in the CISA KEV catalog, catalog version 2026.11.20, 1,790 entries, checked 2026-11-23. — CISA KEV
  • EPSS 0.01055, percentile 0.65248, dataset 2026-11-22, read 2026-11-23. — FIRST EPSS

Related advisories

Sources

  1. NVD
  2. CISA CSAF: ICSA-16-336-02A Moxa NPort Device Vulnerabilities (machine-readable advisory)
  3. CVE.org record CVE-2016-9371 (CNA: ICS-CERT)
  4. CISA KEV
  5. FIRST EPSS

Frequently asked questions

Who is at risk from CVE-2016-9371?

People who use the NPort web console. The CVSS vector requires user interaction and a changed scope, so the script runs in the browser of whoever opens the crafted page, typically an engineer logged in to the device, and acts with that user's rights.

Which firmware fixes CVE-2016-9371?

Per CISA ICSA-16-336-02A: NPort 5110 2.7, 5130/5150 3.7, 5200 2.9, 5400 3.12, 5600 3.8, 5100A/P5150A and 5200A 1.4, 5x50AI-M12 1.3, 5600-8-DT 2.5, IA5450A 1.4 and NPort 6000 1.16. The NPort 6110 is discontinued and has no fix; Moxa recommends replacing it.

How do I reduce the risk before updating?

Use a dedicated browser or jump host for device consoles, do not open NPort links received by email or chat, log out after configuration work, and allow web access to the NPort only from engineering hosts behind a firewall.

Is CVE-2016-9371 exploited in the wild?

It is not in the CISA KEV catalog as of 2026-11-23. FIRST EPSS gives it 0.01055, a percentile of 65.2, in the 2026-11-22 dataset.