VDB
Sign up
MEDIUM

GHSA-5822-pw57-vv37

XSS vulnerability when listing users on add & modify server pages.

Quick fix

GHSA-5822-pw57-vv37 — pterodactyl/panel: upgrade to the fixed version with the command below.

composer require pterodactyl/panel:^0.7.19

Details

### 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.

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

### 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._

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/pterodactyl/panel
Introduced in: 0Fixed in: 0.7.19
Fixcomposer require pterodactyl/panel:^0.7.19
Packagist/pterodactyl/panel
Introduced in: 1.0.0-rc.0Fixed in: 1.0.0-rc.7
Fixcomposer require pterodactyl/panel:^1.0.0-rc.7

References