Low

Pterodactyl has a Reflected XSS vulnerability in “Create New Database Host”

  • Disclosed: 30.12.2025
  • Updated: 11.10.2026 10:22

[!NOTE] Message from the Pterodactyl team:

The Pterodactyl team has evaluated this as a minor security issue but does not consider it something that should be assigned a CVE, nor does it require active patching by vulnerable systems.

This issue is entirely self-inflicted and requires an administrative user paste an obviously incorrect value into a database host field, submit it, and run into the XSS when the error message is rendered. However, we have determined that this fix is good security hygiene and may prevent issues in other areas not yet discovered.

Summary

When an administrative user creates a new database host they are prompted to provide a Host value which is expected to be a domain or IP address. When an invalid value is encountered and passed back to gethostaddr and/or directly to the MySQL connection tooling, an error is returned. This error is then passed back along to the front-end, but was not properly sanitized when rendered.

Therefore it is possible for an admin to knowingly paste a malicious payload such as <script>prompt(document.domain)</script> into the Host field and XSS themselves.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Composer package pterodactyl/panel < 1.12.0 1.12.0

References

CVSS score -
CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:P
Weakness (CWE)
CWE-79
Platform
Composer
Package
pterodactyl/panel
Disclosed
30.12.2025
Updated
11.10.2026 10:22

Sources and licenses

OSV / GitHub Advisory Database - GHSA-mgr9-6c2j-jxrq - CC BY 4.0

Vulnerability history: pterodactyl/panel

All published vulnerabilities of this package (Composer package), newest first. Shows whether this is a one-off slip or a package that needs watching.

All (19) in the archive
Total entries
19
First → latest
10.2020 07.2026
Without a fix
0
Exploited in attacks
0

Severity breakdown

  • Critical 2
  • High 6
  • Medium 8
  • Low 3

Disclosures per year

  1. 2020: 1
  2. 2021: 3
  3. 2022: 2
  4. 2023: 0
  5. 2024: 2
  6. 2025: 2
  7. 2026: 9
Severity:
  1. Pterodactyl has a Reflected XSS vulnerability in “Create New Database Host” this entry
    Low ghsa-mgr9-6c2j-jxrq < 1.12.0 1.12.0
  2. Critical · 10.0 CVE-2025-49132 < 1.11.11 1.11.11
  3. High · 7.5 CVE-2019-1020002 < 0.7.14 0.7.14

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.