CVE-2022-22999 Cross-site Scripting Vulnerability in USB Backups App

High 8.2 Published Updated

An attacker with elevated privileges can inject JavaScript into the USB Backups app, potentially hijacking sessions, stealing data, or modifying settings on Western Digital My Cloud devices.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2022-22999?

CVE-2022-22999 is a high-severity cross-site scripting vulnerability in Western Digital My Cloud, published on 25 Jul 2022. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

Western Digital My Cloud devices are vulnerable to a cross side scripting vulnerability that can allow a malicious user with elevated privileges access to drives being backed up to construct and inject JavaScript payloads into an authenticated user's browser. As a result, it may be possible to gain control over the authenticated session, steal data, modify settings, or redirect the user to malicious websites. The scope of impact can extend to other components.

Weakness: CWE-79

Which versions are affected by CVE-2022-22999?

It affects 8 products.

Products include Westerndigital My Cloud Dl2100 Firmware, Westerndigital My Cloud Dl4100 Firmware, Westerndigital My Cloud Ex2100 Firmware, Westerndigital My Cloud Ex2 Ultra Firmware, Westerndigital My Cloud Ex4100 Firmware, Westerndigital My Cloud Mirror G2 Firmware and 2 more.

How do I fix CVE-2022-22999?

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

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

Sources

Also known as GHSA-4h8r-hw75-4wxx.

Is CVE-2022-22999 in your software?

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

Check your SBOMs for free