Intel

AIKIDO-2025-10513

webssh is vulnerable to Cross-site Scripting (XSS)

Cross-site Scripting (XSS)CVE-2025-7885 Published Jul 31, 2025

50

Medium Risk

This Affects:

JSwebssh
1.4.5 - 1.6.2
Fixed in 1.6.3
Are you affected? Scan for Free

TL;DR

Affected versions of this package are vulnerable to cross-site scripting (XSS) due to the log_status function logging status messages in raw HTML without proper sanitization. This can allow malicious input to be stored and later executed in contexts where the logs are rendered as HTML, potentially enabling attackers to inject and execute arbitrary scripts.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

webssh is vulnerable to Cross-site Scripting (XSS) in versions 1.4.5 - 1.6.2.

How to fix this

Upgrade the webssh library to a patch version.