CVE-2024-34067: Pterodactyl panel's admin area vulnerable to Cross-site Scripting
Impact Importing a malicious egg or gaining access to wings instance could lead to XSS on the panel, which could be used to gain an administrator account on the panel. Specifically, the following things are impacted: - Egg Docker images - Egg variables: - Name - Environment variable - Default value - Description - Validation rules Additionally, certain fields would reflect malicious input, but it would require the…
Published May 3, 2024
Affected packages
pterodactyl/panel
- Ecosystem
- Composer (PHP)
- Affected
- < 1.11.6
- Fixed in
- 1.11.6
- Check
composer show pterodactyl/panel
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Impact
Importing a malicious egg or gaining access to wings instance could lead to XSS on the panel, which could be used to gain an administrator account on the panel. Specifically, the following things are impacted:
- Egg Docker images
- Egg variables:
- Name
- Environment variable
- Default value
- Description
- Validation rules
Additionally, certain fields would reflect malicious input, but it would require the user knowingly entering such input to have an impact.
To iterate, this would require an administrator to perform actions and can't be triggered by a normal panel user.
Workarounds
No workaround is available other than updating to the latest version of the panel.
Patches
All of the following commits are required to resolve this security issue:
https://github.com/pterodactyl/panel/commit/1172d71d31561c4e465dabdf6b838e64de48ad16 https://github.com/pterodactyl/panel/commit/f671046947e4695b5e1c647df79305c1cefdf817 https://github.com/pterodactyl/panel/commit/0dad4c5a488661f9adc27dd311542516d9bfa0f2
Credited to TrixterTheTux, matthewpi.
References
- https://github.com/pterodactyl/panel/security/advisories/GHSA-384w-wffr-x63q
- https://nvd.nist.gov/vuln/detail/CVE-2024-34067
- https://github.com/pterodactyl/panel/commit/0dad4c5a488661f9adc27dd311542516d9bfa0f2
- https://github.com/pterodactyl/panel/commit/1172d71d31561c4e465dabdf6b838e64de48ad16
- https://github.com/pterodactyl/panel/commit/f671046947e4695b5e1c647df79305c1cefdf817
- https://github.com/advisories/GHSA-384w-wffr-x63q
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Composer (PHP) vulnerabilities
All Composer (PHP) entriesCVE-2026-54593
Pterodactyl's improper JWT scoping allows subuser to upload files when not explicitly granted `file.create` permissions
high8.1Jul 28, 2026CVE-2026-61609
Pterodactyl's shared global rate-limit key on login and 2FA checkpoint enables unauthenticated panel-wide authentication lockout (DoS)
high7.5Jul 28, 2026GHSA-j7f5-gfqm-pcx3
Pterodactyl Panel: Client email change endpoint allows enumeration of accounts in system
medium5.5Jun 26, 2026CVE-2026-35202
Pterodactyl has a database resource limit bypass via race condition in Client API
low2.3May 26, 2026CVE-2026-26016
Pterodactyl Panel Allows Cross-Node Server Configuration Disclosure via Remote API Missing Authorization
critical9.2Feb 17, 2026GHSA-hr7j-63v7-vj7g
Pterodactyl Panel's SFTP sessions remain active after user account deletion or password change
high7.5Feb 17, 2026
