CVE-2021-47873
Published: 21 January 2026
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
- 🇪🇺 ENISA EUVD: EUVD-2026-3630
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
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/.
CVEs Like This One
Affected Assets
Mitigating Controls
Mitigating Controls (NIST 800-53 r5) AI
Directly requires validation and sanitization of the v_interface parameter on the /add/ip/ POST endpoint to block stored XSS payloads.
Requires output filtering/encoding of stored IP interface data before rendering in administrator browsers, limiting script execution.
Enables monitoring of web requests and anomalous input patterns to the /add/ip/ endpoint that could indicate XSS injection attempts.