CVE-2025-30008
MediumCVSS 4.6Exploitation Probability (EPSS)
Low risk8th percentile - higher than 8% of all known CVEs
Summary
HestiaCP before version 1.9.5 has a stored cross-site scripting vulnerability. Authenticated low-privilege users can inject arbitrary HTML/JavaScript by creating a DNS record with a double quote and script payload in the value field. The application fails to encode the value with htmlspecialchars() in list_dns_rec.php, allowing the payload to execute in browsers of other users, including administrators.
Risk Assessment
The risk includes potential session hijacking of administrators, data theft, or unauthorized actions in the HestiaCP management panel. An attacker could exploit administrator trust to spread malicious code or gain access to sensitive functions.
Recommendation
Immediately update HestiaCP to version 1.9.5 or later. If an update is not possible, restrict DNS record creation privileges to trusted users and monitor logs for suspicious entries.
Other vulnerabilities in HestiaCP
See all- CVE-2026-43633Critical
HestiaCP versions 1.9.0 through 1.9.4 contain a deserialization vulnerability in the web terminal component caused by a session format mismatch between PHP and Node.js. This allows unauthenticated remote attackers to achieve root-level code execution by injecting crafted data into HTTP headers.
- CVE-2025-30007High
HestiaCP before version 1.9.5 contains an authenticated OS command injection vulnerability that allows low-privilege authenticated users to execute arbitrary commands as root by injecting a single-quote character into unvalidated DNS record types. Attackers can exploit insufficient input validation in is_dns_record_format_valid() combined with unsafe eval-based parsing in update_dns_zone() to prematurely close a variable assignment string and achieve full root code execution on the underlying host in a single DNS record creation step.
- CVE-2026-12196High
HestiaCP panel contains a broken access control vulnerability in the cronjob feature. Low privilege users can modify panel cronjobs to execute HestiaCP management scripts with passwordless sudo.
- CVE-2026-43634High
HestiaCP versions 1.2.0 through 1.9.4 have an IP spoofing vulnerability that allows unauthenticated remote attackers to bypass authentication security controls by supplying an arbitrary IP address in the CF-Connecting-IP header without verifying the request originated from Cloudflare.
Original NVD description (English source)
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.

