CVE-2025-0193 Stored Cross-site Scripting (XSS) Vulnerability in the MGate 5121/5122/5123 Series
An authenticated admin can inject persistent scripts into the login message, allowing execution against other users accessing the device.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2025-0193?
CVE-2025-0193 is a medium-severity cross-site scripting vulnerability in Moxa MGate 5121 Series, published on 15 Jan 2025. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.
Official 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.
Weakness: CWE-79
Which versions are affected by CVE-2025-0193?
How do I fix CVE-2025-0193?
No fix has been published for CVE-2025-0193 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2025-0193 being exploited?
There is no known exploitation of CVE-2025-0193 in the wild and no public exploit code.
Sources
Also known as GHSA-m56g-xx45-238c.