{"id":"CVE-2025-0193","state":"PUBLISHED","title":"Stored Cross-site Scripting (XSS) Vulnerability in the MGate 5121/5122/5123 Series","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.","publishedAt":"2025-01-15T11:05:11.594Z","updatedAt":"2025-01-15T14:35:22.364Z","severity":{"score":5.2,"label":"Medium","version":"4.0","vector":"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","source":"Moxa"},"assigner":"Moxa","products":["Moxa MGate 5121 Series","Moxa MGate 5122 Series","Moxa MGate 5123 Series"],"affected":[{"vendor":"Moxa","product":"MGate 5121 Series","defaultStatus":"unaffected","versions":[{"version":"1.0","status":"affected","versionType":"custom"}]},{"vendor":"Moxa","product":"MGate 5122 Series","defaultStatus":"unaffected","versions":[{"version":"1.0","status":"affected","versionType":"custom"}]},{"vendor":"Moxa","product":"MGate 5123 Series","defaultStatus":"unaffected","versions":[{"version":"1.0","status":"affected","versionType":"custom"}]}],"references":["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"],"weaknesses":["CWE-79"],"ingestedAt":"2026-10-29T20:08:20.985Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/0xxx/CVE-2025-0193.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2025-0193","state":"PUBLISHED","datePublished":"2025-01-15T11:05:11.594Z","dateUpdated":"2025-01-15T14:35:22.364Z","assignerShortName":"Moxa","assignerOrgId":"2e0a0ee2-d866-482a-9f5e-ac03d156dbaa","dateReserved":"2025-01-03T08:10:03.462Z"},"containers":{"cna":{"title":"Stored Cross-site Scripting (XSS) Vulnerability in the MGate 5121/5122/5123 Series","descriptions":[{"lang":"en","value":"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":[{"vendor":"Moxa","product":"MGate 5121 Series","defaultStatus":"unaffected","versions":[{"version":"1.0","status":"affected","versionType":"custom"}]},{"vendor":"Moxa","product":"MGate 5122 Series","defaultStatus":"unaffected","versions":[{"version":"1.0","status":"affected","versionType":"custom"}]},{"vendor":"Moxa","product":"MGate 5123 Series","defaultStatus":"unaffected","versions":[{"version":"1.0","status":"affected","versionType":"custom"}]}],"references":[{"url":"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","tags":["vendor-advisory"]}],"metrics":[{"cvssV4_0":{"Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","Safety":"NOT_DEFINED","attackComplexity":"HIGH","attackRequirements":"NONE","attackVector":"NETWORK","baseScore":5.2,"baseSeverity":"MEDIUM","privilegesRequired":"HIGH","providerUrgency":"NOT_DEFINED","subAvailabilityImpact":"HIGH","subConfidentialityImpact":"HIGH","subIntegrityImpact":"HIGH","userInteraction":"PASSIVE","valueDensity":"NOT_DEFINED","vectorString":"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","version":"4.0","vulnAvailabilityImpact":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","vulnerabilityResponseEffort":"NOT_DEFINED"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-79","description":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"Moxa","orgId":"2e0a0ee2-d866-482a-9f5e-ac03d156dbaa","dateUpdated":"2025-01-15T11:05:11.594Z"},"credits":[{"lang":"en","type":"finder","value":"Dmitrii Mosichkin"}],"impacts":[{"capecId":"CAPEC-592","descriptions":[{"lang":"en","value":"CAPEC-592: Stored XSS"}]}],"solutions":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<p>Moxa has developed appropriate solutions to address vulnerability. The solutions for the affected products are listed below. </p><p></p><ul><li>MGate 5121 Series: Upgrade to <a target=\"_blank\" rel=\"nofollow\" href=\"https://www.moxa.com/en/products/industrial-edge-connectivity/protocol-gateways/modbus-tcp-gateways/mgate-5121-series#resources\">the firmware version 2.0</a>&nbsp;or later version</li><li><span style=\"background-color: var(--wht);\">MGate 5122 Series: Upgrade to </span><a target=\"_blank\" rel=\"nofollow\" href=\"https://www.moxa.com/en/products/industrial-edge-connectivity/protocol-gateways/ethernet-ip-gateways/mgate-5122-series#resources\">the firmware version 2.0</a><span style=\"background-color: var(--wht);\">&nbsp;or later version</span></li><li><span style=\"background-color: var(--wht);\">MGate 5123 Series: Upgrade to </span><a target=\"_blank\" rel=\"nofollow\" href=\"https://www.moxa.com/en/products/industrial-edge-connectivity/protocol-gateways/profinet-gateways/mgate-5123-series#resources\">the firmware version 2.0</a><span style=\"background-color: var(--wht);\">&nbsp;or later version</span></li></ul><p></p><br>"}],"value":"Moxa has developed appropriate solutions to address vulnerability. The solutions for the affected products are listed below. \n\n\n\n  *  MGate 5121 Series: Upgrade to  the firmware version 2.0 https://www.moxa.com/en/products/industrial-edge-connectivity/protocol-gateways/modbus-tcp-gateways/mgate-5121-series#resources  or later version\n  *  MGate 5122 Series: Upgrade to  the firmware version 2.0 https://www.moxa.com/en/products/industrial-edge-connectivity/protocol-gateways/ethernet-ip-gateways/mgate-5122-series#resources  or later version\n  *  MGate 5123 Series: Upgrade to  the firmware version 2.0 https://www.moxa.com/en/products/industrial-edge-connectivity/protocol-gateways/profinet-gateways/mgate-5123-series#resources  or later version"}],"source":{"discovery":"EXTERNAL"},"workarounds":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<ul><li>Minimize network exposure to ensure the device is not accessible from the Internet. </li></ul><ul><li>Ensure that administrator accounts use strong, unique passwords, and restrict access to trusted personnel only.</li></ul>"}],"value":"*  Minimize network exposure to ensure the device is not accessible from the Internet. \n\n\n  *  Ensure that administrator accounts use strong, unique passwords, and restrict access to trusted personnel only."}],"x_generator":{"engine":"Vulnogram 0.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-01-15T14:35:02.965309Z","id":"CVE-2025-0193","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-01-15T14:35:22.364Z"}}]}}}