Cyber Resilience

CVE-2021-47873

MediumPublic PoC

Published: 21 January 2026

Published
21 January 2026
Modified
15 April 2026
KEV Added
Patch
CVSS Score v4 5.1 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
EPSS Score 0.0006 17.6th percentile
Risk Priority 10 60% EPSS · 20% KEV · 20% CVSS

Summary

CVE-2021-47873 is a medium-severity Cross-site Scripting (CWE-79) vulnerability. Its CVSS base score is 5.1 (Medium).

Operationally, exploitation aligns with the MITRE ATT&CK technique Exploit Public-Facing Application (T1190); ranked at the 17.6th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

The strongest mitigations our analysis identified are NIST 800-53 SI-10 (Information Input Validation) and SI-15 (Information Output Filtering).

Deeper analysis

CVE-2021-47873 is a stored cross-site scripting (XSS) vulnerability affecting VestaCP versions prior to 0.9.8-25. The flaw resides in the IP interface configuration functionality, where the 'v_interface' parameter in the /add/ip/ endpoint fails to properly sanitize user input. This allows attackers to inject malicious scripts via a crafted POST request, resulting in CWE-79. The vulnerability carries a CVSS v3.1 base score of 7.2 (AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N), indicating high severity due to its network accessibility, lack of prerequisites, and changed scope.

Unauthenticated attackers (PR:N) can exploit this vulnerability remotely by sending a specially crafted POST request to the /add/ip/ endpoint with a stored XSS payload in the 'v_interface' parameter. Once injected, the malicious script persists and executes in the context of any authenticated user's browser that views the affected IP interface configuration page, such as an administrator. Successful exploitation enables limited confidentiality and integrity impacts, such as session hijacking, data theft, or further phishing within the application's scope.

Advisories and references, including those from VestaCP (vestacp.com, myvestacp.com), VulnCheck, and an Exploit-DB entry (exploit 49662), detail the issue and imply mitigation through upgrading to VestaCP version 0.9.8-25 or later, which addresses the input validation flaw. Security practitioners should review these sources for full patch details and verify configurations.

EU & UK References

Vulnerability details

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…

more

stored XSS payload.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise TechniquesAI

T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
Why these techniques?

Stored XSS in public-facing VestaCP web interface directly enables remote exploitation of the application (T1190) via crafted POST requests to /add/ip/.

Confidence: HIGH · MITRE ATT&CK Enterprise v18.1

CVEs Like This One

CVE-2026-7052Shared CWE-79
CVE-2024-56060Shared CWE-79
CVE-2025-49043Shared CWE-79
CVE-2026-40038Shared CWE-79
CVE-2024-56022Shared CWE-79
CVE-2025-68889Shared CWE-79
CVE-2026-1074Shared CWE-79
CVE-2025-22539Shared CWE-79
CVE-2025-22286Shared CWE-79
CVE-2025-68031Shared CWE-79

Affected Assets

VestaCP
inferred from references and description; NVD did not file a CPE for this CVE

Mitigating Controls

Mitigating Controls (NIST 800-53 r5) AI

prevent

Directly requires validation and sanitization of the v_interface parameter on the /add/ip/ POST endpoint to block stored XSS payloads.

prevent

Requires output filtering/encoding of stored IP interface data before rendering in administrator browsers, limiting script execution.

detect

Enables monitoring of web requests and anomalous input patterns to the /add/ip/ endpoint that could indicate XSS injection attempts.

References