CVE-2021-47873 VestaCP < 0.9.8-25 - Stored Cross-Site Scripting

Medium 5.1 Published Updated

Attackers can inject malicious scripts via the IP interface configuration, potentially leading to code execution or account takeover in VestaCP.

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-2021-47873?

CVE-2021-47873 is a medium-severity cross-site scripting vulnerability in VestaCP, published on 21 Jan 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

VestaCP versions prior to 0.9.8-25 contain a cross-site scripting vulnerability in the IP interface configuration that allows attackers to inject malicious scripts. Attackers can exploit the 'v_interface' parameter by sending a crafted POST request to the add/ip/ endpoint with a stored XSS payload.

Weakness: CWE-79

Which versions are affected by CVE-2021-47873?

How do I fix CVE-2021-47873?

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

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

Sources

Also known as GHSA-f955-hgxq-hv82.

Is CVE-2021-47873 in your software?

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

Check your SBOMs for free