All vulnerabilities

Servers and applications

GHSA-3g4r-pfpf-8697

Notification x-html Stored XSS

Severity
Medium
Published
30 Jul 2026
Last changed
30 Jul 2026
Added to UpHeron
3 Nov 2026
Fixed in
1.9.8
Weakness
Cross-site scripting (CWE-80)
Sources
Project advisories (GitHub)

Description

File: web/templates/includes/panel.php, line 127

Alpine.js x-html sets element.innerHTML the NOTICE field is rendered as raw HTML with zero sanitization. By contrast, the TOPIC field (line 116) uses x-text which is safe.

File: bin/v-add-user-notification, lines 13-16

The only transform is single-quote escaping (' → %quote%). There is zero HTML encoding — no stripping of <, >, &, ", backticks, or JavaScript event handlers.

File: func/main.sh, lines 1426-1525 is_format_valid()

The is_format_valid dispatcher has cases for user, domain, password, database, email, etc. — but no case for notice or topic. This means v-add-user-notification content bypasses all format validation entirely.

File: web/templates/includes/panel.php, lines 66-68

The notification panel is hidden only when impersonating the admin user. When admin impersonates any other user, the panel is shown and that user's notifications are loaded including attacker-injected JavaScript.

From hestiacp/hestiacp's security advisory. Shortened; the full text is there.

Affected software

SoftwareAffected versions
Hestia Control PanelServers and applications · github:hestiacp/hestiacp
  • Every version before 1.9.8

About Hestia Control Panel

Hestia Control Panel | A lightweight and powerful control panel for the modern web.

From its GitHub repository.
GitHub stars
4,578GitHub, 15 Nov 2026
Forks
964GitHub, 15 Nov 2026
Latest release
1.10.7GitHub, 15 Nov 2026
Released
13 Nov 2026GitHub
License
GPL-3.0GitHub
First published on GitHub
7 Nov 2018GitHub

References