CVE-2025-30008 HestiaCP < 1.9.5 Stored XSS via DNS Record Management Interface
Authenticated users can inject scripts via DNS records, leading to XSS execution in admin browsers, potentially enabling account takeover.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2025-30008?
CVE-2025-30008 is a medium-severity cross-site scripting vulnerability in hestiacp, published on 10 Jul 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
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.
Weakness: CWE-79
Which versions are affected by CVE-2025-30008?
It affects 1 product.
Products include Hestiacp Control Panel.
How do I fix CVE-2025-30008?
No fix has been published for CVE-2025-30008 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2025-30008 being exploited?
There is no known exploitation of CVE-2025-30008 in the wild and no public exploit code.
Other vulnerabilities in hestiacp
- CVE-2022-2550 OS Command Injection in hestiacp/hestiacp
- CVE-2022-1509 Command Injection Vulnerability in hestiacp/hestiacp
- CVE-2022-2626 Incorrect Privilege Assignment in hestiacp/hestiacp
- CVE-2023-5839 Privilege Chaining in hestiacp/hestiacp
- CVE-2025-30007 HestiaCP < 1.9.5 Authenticated OS Command Injection via DNS Record Management
Sources
Also known as GHSA-w2cw-hx5v-f37r.