
PHP JWT Library Patched for Key Exposure in Exception Traces
A medium-severity vulnerability in the web-token jwt-framework PHP library has been patched. The flaw, present in versions 4.2.1 through 4.2.5, allowed attackers to extract decryption keys from exception stack traces when JSON Web Encryption tokens were rejected. The fix, released in version 4.2.6, redacts sensitive parameters in error logs. While the NVD rates the risk as medium, the vulnerability requires high privileges and specific server configurations to exploit, limiting its immediate impact on production environments.