namshi/jose insecure JSON Web Signatures (JWS)
namshi/jose allows the acceptance of unsecure JSON Web Signatures (JWS) by default. The vulnerability arises from the $allowUnsecure flag, which, when set to true during the loading of JWSes, permits tokens signed with 'none' algorithms to be processed. This behavior poses a significant security risk as it could allow an attacker to impersonate users by crafting a valid jwt token.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Composer package | namshi/jose | < 1.1.2, >= 1.2.0, < 1.2.2, >= 2.0.0, < 2.0.3, >= 2.1.0, < 2.1.2 | 1.1.2, 1.2.2, 2.0.3, 2.1.2 |
References
- Weakness (CWE)
-- Platform
- Composer
- Package
namshi/jose- Disclosed
- 17.05.2024
- Updated
- 11.10.2026 10:22
Sources and licenses
OSV / GitHub Advisory Database - GHSA-hxhc-wmg8-xrqf - CC BY 4.0
Vulnerability history: namshi/jose
All published vulnerabilities of this package (Composer package), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 2
- First → latest
- 05.2024 05.2024
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- Critical 1
- High 1
Disclosures per year
- 2024: 2
- 2025: 0
- 2026: 0
-
namshi/jose insecure JSON Web Signatures (JWS) this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.