CVE-2022-31358
CWE-79Published: December 14, 2022· Updated: Jul 9, 2026
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/.
Risk Analysis
Proxmox Virtual Environment is affected by a reflected cross-site scripting (XSS) vulnerability in its API. An attacker could potentially execute arbitrary scripts in a user's browser, leading to a compromise of the session.
No public exploit is known, and it is not listed in the KEV database.
Upgrade to Proxmox Virtual Environment version 7.2-3 or later.
Technical Analysis
CVE-2022-31358 can be exploited remotely over the network without requiring physical or adjacent access, significantly expanding the attack surface for threat actors.
Exploitation requires low privileges, which limits the exposure to scenarios where an attacker has already gained initial access.
A successful exploit results in complete confidentiality breach (data exposure), full integrity compromise (data manipulation), availability disruption (denial of service), with a CVSS base score of 9.0.
The vulnerability has a "Changed" scope, meaning successful exploitation can impact components beyond the vulnerable component itself — such as the host operating system or adjacent services.
From a weakness classification perspective (CWE-79): Cross-site scripting (XSS) vulnerabilities allow attackers to inject malicious scripts into web pages viewed by other users.
CVSS v3.1 Vector Breakdown
Affected Vendors & Products
Exploit & PoC Resources
Official Patches & Advisories
All References (6)
Quick Facts
Related CVEs (CWE-79)
Recommended Actions
- →Apply vendor patches immediately
- →Monitor CVE-2022-31358 in threat intel feeds
- →Review IDS/IPS signatures for exploitation attempts