# CVE-2025-30144: Fast-JWT Improperly Validates iss Claims

- Severity: Medium 6.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.59%, higher than 49% of CVEs (2026-12-01)
- Published: 2025-03-19T15:41:19.642Z
- Modified: 2026-06-17T09:08:14.723Z
- Also known as: GHSA-gm45-q3v2-6cf8
- Weaknesses: CWE-290, CWE-345
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: 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.

(As written by CVE List.)

## Affected

- nearform fast-jwt: < 5.0.6
- fast-jwt (npm): before 5.0.6

## Every score

- GitHub_M: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:N`
- GitHub: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:N`

## References

- <https://github.com/nearform/fast-jwt/security/advisories/GHSA-gm45-q3v2-6cf8> (web)
- <https://github.com/nearform/fast-jwt/commit/cc26b1d473f900446ad846f8f0b10eb1c0adcbdd> (web)
- <https://datatracker.ietf.org/doc/html/rfc7519#page-9> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-30144> (advisory)
- <https://github.com/nearform/fast-jwt> (package)

## Sources

- CVE List: [CVE-2025-30144](https://www.cve.org/CVERecord?id=CVE-2025-30144), CVE Terms of Use, modified 2025-03-19
- GitHub Advisory Database: [GHSA-gm45-q3v2-6cf8](https://github.com/advisories/GHSA-gm45-q3v2-6cf8), CC-BY-4.0, modified 2025-03-20
- NVD: [CVE-2025-30144](https://nvd.nist.gov/vuln/detail/CVE-2025-30144), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-30144 · Whole record: https://cve.day/CVE-2025-30144.json · Rebuilt by cve.day 2026-11-25T22:58:55.356Z
