CVE-2022-41311 Cross-site scripting in SDS-3008 Series Industrial Ethernet Switch

Medium 4.3 Published Updated

An attacker can execute arbitrary JavaScript via a stored XSS vulnerability in the web interface of Moxa industrial switches.

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-2022-41311?

CVE-2022-41311 is a medium-severity cross-site scripting vulnerability in Moxa SDS-3008 Series Industrial Ethernet Switch, published on 7 Feb 2023. 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 vulnerability exists in the web application functionality of Moxa SDS-3008 Series Industrial Ethernet Switch 2.1. A specially-crafted HTTP request can lead to arbitrary Javascript execution. An attacker can send an HTTP request to trigger this vulnerability.Form field id="webLocationMessage_text" name="webLocationMessage_text"

Weakness: CWE-79

Which versions are affected by CVE-2022-41311?

It affects 2 products.

Products include Moxa Sds-3008-T Firmware, Moxa Sds-3008 Firmware.

How do I fix CVE-2022-41311?

No fix has been published for CVE-2022-41311 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-2022-41311 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-41311 exists.

Sources

Also known as GHSA-xrxr-6vrf-4m23.

Is CVE-2022-41311 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free