NodePress through 8.5.1 contains an authentication bypass vulnerability that allows unauthenticated remote attackers to gain administrator access by forging JWTs with the hardcoded 'nodepress-secret' fallback key. Attackers can sign HS256 bearer tokens with the default issuer, audience, and role 'admin' to access administrator-only APIs for article, comment, options, and file management.
https://github.com/surmon-china/nodepress/issues/143
https://github.com/surmon-china/nodepress/blob/v8.5.1/src/main.ts#L44-L60
https://github.com/surmon-china/nodepress/blob/v8.5.1/src/core/auth/auth.module.ts#L17-L29
https://github.com/surmon-china/nodepress/blob/v8.5.1/src/app.config.ts#L62-L72