CVE-2025-20342 Cisco Integrated Management Controller Virtual Keyboard Video Monitor (vKVM) Stored Cross-Site Scripting Vulnerability

Medium 5.4 Published Updated

Authenticated attackers can inject malicious scripts into Cisco IMC vKVM, enabling arbitrary code execution or data theft in victim browsers.

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-2025-20342?

CVE-2025-20342 is a medium-severity cross-site scripting vulnerability in Cisco Unified Computing System (Managed), published on 27 Aug 2025. 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 vulnerability in the Virtual Keyboard Video Monitor (vKVM) connection handling of Cisco Integrated Management Controller (IMC) could allow an authenticated, remote attacker with low privileges to conduct a stored cross-site scripting (XSS) attack against a user of the interface. This vulnerability is due to insufficient validation of user-supplied input by the web-based management interface of an affected system. An attacker could exploit this vulnerability by injecting malicious code into a specific data field in the interface. A successful exploit could allow the attacker to execute arbitrary script code in the context of the affected interface or access sensitive, browser-based information. To exploit this vulnerability, the attacker must have valid user credentials with privileges that allow for vKVM access on the affected device. Note: The affected vKVM client is also included in Cisco UCS Manager.

Weakness: CWE-80

Which versions are affected by CVE-2025-20342?

How do I fix CVE-2025-20342?

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

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

Sources

Also known as GHSA-885p-4w28-xgr6.

Is CVE-2025-20342 in your software?

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

Check your SBOMs for free