Technical impact
NodePress through version 8.5.1 builds JSON Web Tokens using a hardcoded fallback key, "nodepress-secret". As a result, attackers who are not authenticated can craft valid HS256 bearer tokens with the default issuer, audience, and a role of "admin". When such a forged token is presented to protected endpoints, the application accepts it and grants administrator‑level access to article, comment, options, and file management APIs. This allows full control over the system without any user credentials. The weakness arises from improper handling of secret keys, effectively turning an authorization mechanism into a static credential that can be trivially guessed or reused.
Affected Systems
The affected product is NodePress from surmon‑china, specifically versions up through 8.5.1. No other versions are listed as vulnerable.
Risk and Exploitability
The vulnerability carries a CVSS score of 9.3, indicating high severity and significant impact. The EPSS score is not available, but the lack of a CISA KEV listing does not diminish the risk—unauthenticated adversaries can exploit the flaw remotely by simply forging a JWT, a low‑effort attack vector. In practice, an attacker would target the public API and inject a crafted token, gaining administrator rights and full control of content and configuration.