Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconObtain low-privilege HestiaCP tenant credentials
-
DeliveryCreate DNS record with double-quote-escaped XSS payload in value field
-
ExploitPayload persists in HestiaCP data store
-
InstallAdministrator loads DNS record list page
-
C2Payload executes in admin browser session
-
ExecuteExfiltrate admin session token to attacker-controlled endpoint
-
ImpactAuthenticate as admin and take full panel control
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the attacker to hold a valid, authenticated HestiaCP account with permission to create or modify DNS records - this is typically a low-privilege hosting tenant account, not an unauthenticated path. The CVSS 4.0 vector PR:L confirms low-privilege authentication is required. A second prerequisite (UI:P) is that the victim - an administrator or any other panel user - must passively view the DNS record list page (list_dns_rec.php) after the payload is stored; no active interaction with the malicious record beyond page load is required. Limiting factors: no unauthenticated exploitation path exists; the attacker must have legitimate panel access; impact is scoped to the HestiaCP web panel session context and does not directly compromise the underlying server OS; and the attack requires a triggering page view by the victim, which may be delayed or may not occur if administrators do not routinely browse DNS records. |
| Impact | The CVSS 4.0 score of 5.1 (Medium) with vector AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N accurately captures the attack profile: network-reachable, low complexity, low-privilege attacker, passive victim interaction required, with impact confined to the subsequent system (the victim's browser session) rather than the HestiaCP server itself. The most significant real-world risk is the privilege escalation path: a low-privilege tenant can implant a persistent payload that executes in an administrator's browser, potentially enabling session cookie theft and full administrative takeover of the control panel. No KEV listing and no confirmed public POC means this is not under known active exploitation, which is consistent with the lower EPSS posture typically associated with stored XSS in niche panels. The stored nature elevates real-world risk above what the numeric score suggests, since the payload does not require active attacker presence after initial injection. Risk is bounded by HestiaCP's deployment footprint, which is narrower than mainstream enterprise panels. |
| Exploit ScenarioDerived | An authenticated low-privilege HestiaCP tenant creates a DNS record whose value field contains a payload such as |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 10, 2026
Stored cross-site scripting in HestiaCP's DNS record management interface (all versions before 1.9.5) enables authenticated low-privilege users to execute arbitrary JavaScript in the browsers of any panel user who views the DNS record list, including administrators. The flaw in list_dns_rec.php allows injecting a script payload via a crafted DNS record value that breaks out of the data-sort-value HTML attribute due to missing htmlspecialchars() encoding - creating a persistent, privilege-escalating attack path from tenant-level access to admin session compromise. No public exploit or CISA KEV listing has been identified at time of analysis; vendor-released patch (v1.9.5) is available.
RemediationAI
Upgrade HestiaCP to version 1.9.5 or later, which resolves the missing htmlspecialchars() encoding in list_dns_rec.php. The release is available at https://github.com/hestiacp/hestiacp/releases/tag/1.9.5, with the specific code fix in commit 07dda18ef0087ea981ff84d4d5757774cf2124b0 (PR #5196). Prior to patching, the most effective compensating control is to restrict DNS record creation and modification to trusted administrator accounts only, using HestiaCP's built-in role and permission controls; this eliminates the attack surface entirely but removes self-service DNS management for tenants. A secondary control is to audit existing DNS records for anomalous values containing HTML special characters (double-quotes, angle brackets, script keywords), which can identify already-planted payloads. No workaround short of access restriction fully mitigates the flaw in unpatched versions.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
HestiaCP is an open-source PHP-based web hosting control panel. The vulnerable component, list_dns_rec.php, renders DNS record values directly into the data-sort-value HTML attribute of list elements without applying PHP's htmlspecialchars() sanitization function. CWE-79 (Improper Neutralization of Input During Web Page Generation) covers this exact root cause class: unsanitized user-controlled data inserted into an HTML attribute context allows injection of a closing quote followed by arbitrary event handlers or script tags. The stored nature of the flaw means the payload persists in the application's data layer until the record is deleted or the system is patched, increasing dwell time compared to reflected XSS. CPE cpe:2.3:a:hestiacp:hestiacp:*:*:*:*:*:*:*:* confirms all HestiaCP versions prior to 1.9.5 are in scope.
Know when Hestiacp gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
Low-privilege authentication required (PR:L), admin must view DNS list (UI:R), stored XSS changes scope to victim browser (S:C); server itself has no direct C/I/A impact.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
HestiaCP before 1.9.5 contains a stored cross-site scripting vulnerability that allows authenticated low-privilege users to inject arbitrary HTML by creating a DNS record with a double-quote followed by a script payload in the value field. The application fails to apply htmlspecialchars() encoding to the DNS record value field rendered into the data-sort-value HTML attribute in list_dns_rec.php, allowing the payload to execute in the browser of any user who views the DNS record list, including administrators.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
hestiacp is vulnerable to Use of Wrong Operator in String Comparison. Rated critical severity (CVSS 9.8), this vulnerabi
Improper Control of Generation of Code ('Code Injection') in GitHub repository hestiacp/hestiacp prior to 1.6.6. Rated h
OS Command Injection in GitHub repository hestiacp/hestiacp prior to 1.6.5. Rated high severity (CVSS 8.8), this vulnera
Command Injection Vulnerability in GitHub repository hestiacp/hestiacp prior to 1.5.12. Rated high severity (CVSS 8.8),
Authentication security bypass in HestiaCP 1.2.0 through 1.9.4 allows unauthenticated remote attackers to spoof their so
Privilege Chaining in GitHub repository hestiacp/hestiacp prior to 1.8.9. Rated high severity (CVSS 7.8), this vulnerabi
Incorrect Privilege Assignment in GitHub repository hestiacp/hestiacp prior to 1.6.6. Rated high severity (CVSS 7.2), th
In the Password Reset Module in VESTA Control Panel through 0.9.8-25 and Hestia Control Panel before 1.1.1, Host header
Cross-site Scripting (XSS) - Reflected in GitHub repository hestiacp/hestiacp prior to 1.8.8. Rated medium severity (CVS
Cross-site Scripting (XSS) - Reflected in GitHub repository hestiacp/hestiacp prior to 1.7.8. Rated medium severity (CVS
Reflected Cross-site Scripting (XSS) Vulnerability in GitHub repository hestiacp/hestiacp prior to 1.5.11. Rated medium
Cross-site Scripting (XSS) - Generic in GitHub repository hestiacp/hestiacp prior to 1.5.9. Rated medium severity (CVSS
EUVD-2025-210453
GHSA-w2cw-hx5v-f37r
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB