GHSA-5822-PW57-VV37

GHSA-5822-PW57-VV37 is a medium-severity cross-site scripting (XSS) vulnerability in pterodactyl/panel (composer), affecting versions < 0.7.19. It is fixed in 0.7.19, 1.0.0-rc.7.

Summary

Workarounds

No workaround exists without manual patching. See https://github.com/pterodactyl/panel/pull/2441/files for the files changed.

For more information

If you have any questions or comments about this advisory please reach out on Discord, or by emailing dane at pterodactyl dot io.

Thank you to Sergej for the responsible disclosure of this issue.

Impact

An XSS vulnerability exists in versions of Pterodactyl Panel before 0.7.19. Affected versions do not properly sanitize account names before rendering them to the dropdown selector in the admin area when creating or modifying a server.

Untrusted input is rendered as active markup in a victim's browser, which can run script in their session. Typical impact: session or credential theft, and actions taken as the user.

Affected versions

pterodactyl/panel (< 0.7.19) pterodactyl/panel (>= 1.0.0-rc.0, <= 1.0.0-rc.6)

Security releases

pterodactyl/panel → 0.7.19 (composer) pterodactyl/panel → 1.0.0-rc.7 (composer)

Kodem intelligence

Severity tells you how bad this could be in the worst case. It does not tell you whether you are exposed. Exploitability and impact are functions of runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A vulnerable package can sit in your dependency tree and never run.

Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter. Kodem's runtime-powered SCA identifies whether this CVE is reachable in your applications.

See it in your environment

Remediation advice

This XSS has been addressed in 0.7.19 and will be rolled forwards into the 1.0-rc.7 release.

Frequently Asked Questions

  1. What is GHSA-5822-PW57-VV37? GHSA-5822-PW57-VV37 is a medium-severity cross-site scripting (XSS) vulnerability in pterodactyl/panel (composer), affecting versions < 0.7.19. It is fixed in 0.7.19, 1.0.0-rc.7. Untrusted input is rendered as active markup in a victim's browser, which can run script in their session.
  2. Which versions of pterodactyl/panel are affected by GHSA-5822-PW57-VV37? pterodactyl/panel (composer) versions < 0.7.19 is affected.
  3. Is there a fix for GHSA-5822-PW57-VV37? Yes. GHSA-5822-PW57-VV37 is fixed in 0.7.19, 1.0.0-rc.7. Upgrade to this version or later.
  4. Is GHSA-5822-PW57-VV37 exploitable, and should I be worried? Whether GHSA-5822-PW57-VV37 is exploitable in your environment depends on whether the vulnerable code is present and reachable. A CVSS score is a worst-case rating; it does not account for your specific deployment, configuration, or usage patterns. Kodem, an Intelligent Application Security platform, uses runtime intelligence to show which vulnerabilities actually execute in production, so you can focus on the ones that represent real risk. Get a demo
  5. What actually determines whether GHSA-5822-PW57-VV37 is exploitable, and how bad it is? Exploitability and impact are not fixed properties of a CVE. They depend on runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A high CVSS score on a dependency that never runs is not the same as real risk. Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter.
  6. How do I fix GHSA-5822-PW57-VV37?
    • Upgrade pterodactyl/panel to 0.7.19 or later
    • Upgrade pterodactyl/panel to 1.0.0-rc.7 or later

Other vulnerabilities in pterodactyl/panel

Stop the waste.
Protect your environment with Kodem.