GHSA-w2cw-hx5v-f37r
HestiaCP versions before 1.9.5 contain a stored cross-site scripting (XSS) vulnerability. Authenticated low-privilege users can inject arbitrary HTML by creating a DNS record with a crafted value containing a double-quote followed by a script payload. The vulnerability arises because the application does not apply htmlspecialchars() encoding to the DNS record value when rendering it into the data-sort-value HTML attribute in list_dns_rec.php. This allows the injected script to execute in the browsers of any users viewing the DNS record list, including administrators.
AI Analysis
Technical Summary
CVE-2025-30008 is a stored XSS vulnerability in HestiaCP before version 1.9.5. It allows authenticated users with low privileges to inject arbitrary HTML/JavaScript by creating a specially crafted DNS record value containing a double-quote and script payload. The root cause is the failure to properly encode the DNS record value field when rendered into the data-sort-value HTML attribute in list_dns_rec.php, enabling script execution in the context of users viewing the DNS record list. This can lead to script execution in administrator browsers, potentially compromising administrative sessions.
Potential Impact
The vulnerability enables stored cross-site scripting, allowing an attacker with low privileges to execute arbitrary scripts in the browsers of users who view the DNS record list, including administrators. This could lead to session hijacking, privilege escalation, or other malicious actions performed with the privileges of the affected users. However, exploitation requires authentication with low privileges.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, restrict low-privilege user access to DNS record creation or viewing, and apply strict input validation or output encoding as a temporary mitigation. Monitor vendor channels for an official fix or update to HestiaCP version 1.9.5 or later.
GHSA-w2cw-hx5v-f37r
Description
HestiaCP versions before 1.9.5 contain a stored cross-site scripting (XSS) vulnerability. Authenticated low-privilege users can inject arbitrary HTML by creating a DNS record with a crafted value containing a double-quote followed by a script payload. The vulnerability arises because the application does not apply htmlspecialchars() encoding to the DNS record value when rendering it into the data-sort-value HTML attribute in list_dns_rec.php. This allows the injected script to execute in the browsers of any users viewing the DNS record list, including administrators.
CVSS v4.0
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2025-30008 is a stored XSS vulnerability in HestiaCP before version 1.9.5. It allows authenticated users with low privileges to inject arbitrary HTML/JavaScript by creating a specially crafted DNS record value containing a double-quote and script payload. The root cause is the failure to properly encode the DNS record value field when rendered into the data-sort-value HTML attribute in list_dns_rec.php, enabling script execution in the context of users viewing the DNS record list. This can lead to script execution in administrator browsers, potentially compromising administrative sessions.
Potential Impact
The vulnerability enables stored cross-site scripting, allowing an attacker with low privileges to execute arbitrary scripts in the browsers of users who view the DNS record list, including administrators. This could lead to session hijacking, privilege escalation, or other malicious actions performed with the privileges of the affected users. However, exploitation requires authentication with low privileges.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, restrict low-privilege user access to DNS record creation or viewing, and apply strict input validation or output encoding as a temporary mitigation. Monitor vendor channels for an official fix or update to HestiaCP version 1.9.5 or later.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-w2cw-hx5v-f37r
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2025-30008"]
- Ecosystems
- []
- Database Specific Severity
- MODERATE
- Cvss Version
- 4.0
Threat ID: 6a520eae68715ace438f4b4c
Added to database: 07/11/2026, 09:36:46 UTC
Last enriched: 07/11/2026, 09:47:15 UTC
Last updated: 07/12/2026, 03:39:12 UTC
Views: 4
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.