GitHub Advisory Database
GHSA-c8m8-3jcr-6rj5
FUXA has a hardcoded fallback JWT signing secret
Details
FUXA used a static fallback JWT signing secret (frangoteam751) when no secretCode was configured.
If authentication was enabled without explicitly setting a custom secret, an attacker who knew the default value could forge valid JWT tokens and bypass authentication.
This issue has been addressed in version 1.3.0 by removing the static fallback and generating a secure random secret when no secretCode is provided.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| npm | @frangoteam/fuxa | All versions before 1.3.0 (fixed in 1.3.0) |