GitHub Advisory Database
GHSA-9f8m-9547-2gqm
Gophish is vulnerable to Incorrect Access Control
Details
Gophish <= 0.12.1 is vulnerable to Incorrect Access Control. The administrative dashboard exposes each user’s long-lived API key directly inside the rendered HTML/JavaScript of the page on every login. This makes permanent API credentials accessible to any script running in the browser context.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | github.com/gophish/gophish | All versions up to and including 0.12.1 |