# CVE-2025-0193: Stored Cross-site Scripting (XSS) Vulnerability in the MGate 5121/5122/5123 Series

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.2
- **CVSS:** 5.2 (v4.0, CNA) `CVSS:4.0/AV:N/AC:H/AT:N/PR:H/UI:P/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: High; Attack requirements: None; Privileges required: High; User interaction: Passive; Confidentiality impact: None; Integrity impact: None; Availability impact: None; Confidentiality impact on other systems: High; Integrity impact on other systems: High; Availability impact on other systems: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.55% (percentile 39, 2026-11-26)
- **CWE:** CWE-79
- **Published:** 2025-01-15T11:05:11.594Z
- **Modified:** 2026-06-17T08:26:03.043Z

## Who should check

- Anyone running Moxa MGate 5121 Series 1.0
- Anyone running Moxa MGate 5122 Series 1.0
- Anyone running Moxa MGate 5123 Series 1.0

## Description

A stored Cross-site Scripting (XSS) vulnerability exists in the MGate 5121/5122/5123 Series firmware version v1.0 because of insufficient sanitization and encoding of user input in the "Login Message" functionality. An authenticated attacker with administrative access can exploit this vulnerability to inject malicious scripts that are continuously stored on the device. These scripts are executed when other users access the login page, potentially resulting in unauthorized actions or other impacts, depending on the user's privileges.

## Affected and fixed versions

- Moxa MGate 5121 Series: 1.0 (cvelist)
- Moxa MGate 5122 Series: 1.0 (cvelist)
- Moxa MGate 5123 Series: 1.0 (cvelist)

## Mitigation

- Vendor workaround: \*  Minimize network exposure to ensure the device is not accessible from the Internet. 
- 
- 
-   \*  Ensure that administrator accounts use strong, unique passwords, and restrict access to trusted personnel only.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-0193. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-0193.md
Affected: Moxa MGate 5121 Series 1.0; Moxa MGate 5122 Series 1.0; Moxa MGate 5123 Series 1.0
Fixed in: no fixed version listed yet

Steps:
1. Search this machine and project for Moxa MGate 5121 Series, Moxa MGate 5122 Series, Moxa MGate 5123 Series: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-0193 being exploited?

There is no confirmed exploitation: CVE-2025-0193 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.55% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-0193?

Medium: CVSS 5.2 (v4.0, scored by CNA). Remote, login needed. A user has to take an action, such as opening a link, for the attack to work. The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2025-0193?

Moxa MGate 5121 Series 1.0; Moxa MGate 5122 Series 1.0; Moxa MGate 5123 Series 1.0.

### Is there a fix for CVE-2025-0193?

No fixed version is listed in the sources yet. Vendor workaround: \*  Minimize network exposure to ensure the device is not accessible from the Internet.      \*  Ensure that administrator accounts use strong, unique passwords, and restrict access to trusted personnel only.

### How do I check if I'm affected by CVE-2025-0193?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://www.moxa.com/en/support/product-support/security-advisory/mpsa-247733-cve-2025-0193-stored-cross-site-scripting-(xss)-vulnerability-in-the-mgate-5121-5122-5123-series>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-0193>

HTML: <https://flawdb.com/CVE-2025-0193> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-0193>
