CVE-2022-31358 Cross-site scripting in n/a

Critical 9.0 Published Updated

Remote attackers can execute arbitrary web scripts via reflected XSS in Proxmox Virtual Environment, potentially compromising user sessions.

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

What is CVE-2022-31358?

CVE-2022-31358 is a critical cross-site scripting vulnerability in n/a, published on 14 Dec 2022. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

A reflected cross-site scripting (XSS) vulnerability in Proxmox Virtual Environment prior to v7.2-3 allows remote attackers to execute arbitrary web scripts or HTML via non-existent endpoints under path /api2/html/.

Weakness: CWE-79

Which versions are affected by CVE-2022-31358?

It affects 1 product.

Products include Proxmox Virtual Environment.

How do I fix CVE-2022-31358?

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

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

Sources

Also known as GHSA-rxvq-gr74-jvpj.

Is CVE-2022-31358 in your software?

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

Check your SBOMs for free