CVE-2021-47873CWE-79

VestaCP < 0.9.8-25 - Stored Cross-Site Scripting

Medium · published January 21, 2026

CVSS v4.0
5.1
EPSS
0%
Percentile
12.9
In the wild
Unconfirmed
What it is

⚠️ A sneaky XSS vulnerability lurks in VestaCP's IP interface configuration! If you're running a version before 0.9.8-25, it’s time to pay attention! Think of it like a restaurant where the chef accepts any recipe without checking the ingredients. An attacker can slip in a harmful script just like a rogue diner could sneak in an allergen without anyone noticing! This vulnerability allows attackers to inject malicious scripts into your IP configurations. If exploited, it could lead to unauthorized actions, data leaks, or even session hijacking. Imagine the chaos if your trusted interface starts serving harmful content instead!

Put simply

Think of it like a restaurant where the chef accepts any recipe without checking the ingredients. An attacker can slip in a harmful script just like a rogue diner could sneak in an allergen without anyone noticing! This is a cross-site scripting (XSS) vulnerability that affects VestaCP by exploiting the 'v_interface' parameter through a crafted POST request to the add/ip/ endpoint, allowing for script injection into the interface.

What to do

This vulnerability allows attackers to inject malicious scripts into your IP configurations. If exploited, it could lead to unauthorized actions, data leaks, or even session hijacking. Imagine the chaos if your trusted interface starts serving harmful content instead! To secure your system, update VestaCP to version 0.9.8-25 or later to close this XSS loophole. Additionally, consider implementing input validation to filter out unwanted scripts before they're processed. Regular audits can also help catch issues early! You've got this! Stay proactive, patch your systems, and keep your interfaces shining bright! 🛡️

The record
Technical detail
CVSS v4.0
5.1 · MEDIUM
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N
EPSS
0.00229 · 12.9th percentile
Weakness
CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Published
2026-01-21T17:27Z
EPSS history
Timeline
  • 21 JAN 17:27Z
    VestaCP < 0.9.8-25 - Stored Cross-Site Scripting
    cvelistv5