---
id: CVE-2025-30008
title: >-
  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 fiel…
summary: >-
  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 fiel…
severity: medium
cvss: 4.6
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N'
cwe:
  - CWE-79
published: '2026-07-10'
updated: '2026-07-10'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-30008'
references:
  - url: >-
      https://github.com/hestiacp/hestiacp/commit/07dda18ef0087ea981ff84d4d5757774cf2124b0
    label: disclosure@vulncheck.com
  - url: 'https://github.com/hestiacp/hestiacp/pull/5196'
    label: disclosure@vulncheck.com
  - url: 'https://github.com/hestiacp/hestiacp/releases/tag/1.9.5'
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/hestiacp-stored-xss-via-dns-record-management-interface
    label: disclosure@vulncheck.com
tags:
  - nvd
epss: 0.00297
epssPercentile: 0.22603
ingestedAt: '2026-07-11T20:15:26.178Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
