CVE-2025-30144
published medium CVSS 3.1 · 6.5Fast-JWT Improperly Validates iss Claims
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| nearform | — | fast-jwt< 5.0.6 | Affected | Not stated | GitHub_M |
Description
fast-jwt provides fast JSON Web Token (JWT) implementation. Prior to 5.0.6, the fast-jwt library does not properly validate the iss claim based on the RFC 7519. The iss (issuer) claim validation within the fast-jwt library permits an array of strings as a valid iss value. This design flaw enables a potential attack where a malicious actor crafts a JWT with an iss claim structured as ['https://attacker-domain/', 'https://valid-iss']. Due to the permissive validation, the JWT will be deemed valid. Furthermore, if the application relies on external libraries like get-jwks that do not independently validate the iss claim, the attacker can leverage this vulnerability to forge a JWT that will be accepted by the victim application. Essentially, the attacker can insert their own domain into the iss array, alongside the legitimate issuer, and bypass the intended security checks. This issue is fixed in 5.0.6.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.5 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| nearform | fast-jwt | < 5.0.6 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-345 CWE-345: Insufficient Verification of Data Authenticity
- CWE-290 CWE-290: Authentication Bypass by Spoofing
References
3Provider assertions
2GitHub_M · cna
Fast-JWT Improperly Validates iss Claims
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 91cd81a0f474e2e3486c786783c58a61a751a11174ac10f4d2873d0efe0eb9df
- Ingested
- 23 Sep 2026, 08:44:05 UTC
- Source record
- Official CVE record