CVE-2021-34562 Cross-site scripting in WHA-GW-F2D2-0-AS- Z2-ETH

Medium 5.4 Published Updated

Attackers can inject arbitrary JavaScript into the WirelessHART-Gateway response, potentially compromising user sessions or executing malicious scripts.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2021-34562?

CVE-2021-34562 is a medium-severity cross-site scripting vulnerability in Phoenix Contact WHA-GW-F2D2-0-AS- Z2-ETH, published on 31 Aug 2021. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

In PEPPERL+FUCHS WirelessHART-Gateway 3.0.8 it is possible to inject arbitrary JavaScript into the application's response.

Weakness: CWE-79

Which versions are affected by CVE-2021-34562?

It affects 2 products.

Products include Pepperl-Fuchs Wha-Gw-F2d2-0-as-Z2-Eth.eip Firmware, Pepperl-Fuchs Wha-Gw-F2d2-0-as-Z2-Eth Firmware.

How do I fix CVE-2021-34562?

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

There is no known exploitation of CVE-2021-34562 in the wild and no public exploit code.

Sources

Also known as GHSA-v2hj-gg5v-x38m.

Is CVE-2021-34562 in your software?

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

Check your SBOMs for free