The newest JSON Web Tokens (JWT) resources are on the JSON Web Tokens (JWT) page. For a reading order instead of a date order, see the JSON Web Tokens (JWT) learning path.
| Date Added | Link | Excerpt |
|---|---|---|
| 2026-11-14 2026 | USN-9059-1: ruby-jwt HMAC verification with empty/missing key allows token forgery news AuthN | USN-9059-1 addresses a critical vulnerability in `ruby-jwt` where HMAC signatures were improperly verified with empty or missing keys. This flaw allows remote attackers to forge tokens and bypass authentication mechanisms, significantly compromising security. Users are advised to update their `ruby-jwt` package to the corrected version to mitigate this risk and reduce their security exposure. |
| 2026-11-13 2026 | JWT signing key in a JavaScript bundle: case study intermediate 1 min read Secrets | JWT signing key exposure in JavaScript bundles allows for authentication bypass, enabling unauthenticated callers to mint valid session cookies with arbitrary user IDs and privileges. This case study highlights how a hardcoded fallback signing key present in public client code, intended as a default, was actually the production key, leading to an attacker forging credentials and manipulating user data through a theme API. Scanners often miss this vulnerability as short fallback secrets can be overlooked as development leftovers, underscoring the critical need to verify the security of such keys before assuming they are inactive. |
| 2026-11-13 2026 | Account takeover in @better-auth/expo via a signing oracle intermediate 4 min read AuthN Mobile | @better-auth/expo contains a critical signing oracle vulnerability, allowing unauthenticated attackers to forge tokens and achieve zero-click account takeover. This flaw, found in the `/expo-authorization-proxy` endpoint, enables an attacker to submit arbitrary data for signing and then use the resulting signed token to change a victim's email address or impersonate their session. The vulnerability was addressed in version 1.7.16 of the library. |
| 2026-11-13 2026 | PyJWT HMAC forgery with known public key (CVE-2026-102268) security update news 2 min read Python | Update for python-PyJWT addresses CVE-2026-102268, a critical HMAC forgery vulnerability where an attacker knowing the public key can forge authenticated tokens, and CVE-2026-102270, a denial-of-service vulnerability causing intensive CPU consumption. This security update is available for various SUSE Linux Enterprise products. |
| 2026-11-12 2026 | JWT vulnerabilities: how weak token validation still slips through in 2026 intermediate 4 min read AuthN | JWT vulnerabilities persist due to delegated and incomplete validation, allowing tokens to pass signature, audience, issuer, or expiry checks at one layer but be accepted elsewhere. This application security library details common patterns like unsigned tokens, algorithm confusion, weak secrets, missing claims, embedded sensitive data, and lack of revocation, providing a methodical testing approach focused on signature, claims, key, and lifecycle checks, and outlining durable fixes through centralized, consistent configuration. |
| 2026-11-12 2026 | Multiple vulnerabilities in lua-resty-jwt news 3 min read | Bulletin detailing seven vulnerabilities in lua-resty-jwt, including CWE-20 improper input validation enabling token revocation bypass, CWE-287 improper authentication allowing forged tokens via public key PEM text, CWE-347 improper signature verification enabling arbitrary JWT forging with algorithm confusion, CWE-400 resource exhaustion from unbounded PBKDF2 iterations, CWE-203 observable discrepancy for JWE plaintext recovery, CWE-476 NULL pointer dereference causing DoS via ECDSA verification, and CWE-354 improper integrity check enabling forged encrypted tokens. |
| 2026-11-12 2026 | JWT verification bugs: pin the algorithm, then prove the fix intermediate 9 min read AuthN Python | Reference detailing JWT verification vulnerabilities, focusing on common mistakes like allowing tokens to dictate algorithms or neglecting signature validation. It provides guidance on configuring libraries such as PyJWT, jsonwebtoken, and jose to enforce security rules, emphasizing the importance of pinning algorithms, properly handling keys, and verifying claims like `iss` and `aud`. The entry highlights how these misconfigurations can lead to vulnerabilities such as algorithm confusion and forged token acceptance, and stresses the need for concrete test suites to prove the effectiveness of implemented fixes. |
| 2026-11-11 2026 | HipaLab JWT Inspector: The JWT Tool I Wish I Had Years Ago beginner 3 min read | HipaLab JWT Inspector is a web-based tool for decoding, verifying, analyzing, creating, and comparing JSON Web Tokens (JWTs). It supports various signing algorithms and key formats, surfaces security findings related to algorithms, claims, headers, and secrets, and allows validation against specific policies for issuer, audience, and claims. The inspector also facilitates side-by-side token comparison and key management, streamlining JWT troubleshooting workflows by consolidating these functionalities into a single interface. |
| 2026-11-11 2026 | JWTs Don’t Log Users Out by Magic beginner AuthN | The article explains that simply deleting a JWT (JSON Web Token) from a user's browser doesn't instantly log them out. While it might feel like it, the server retains the token's validity for its set expiration period. This means the token can still be used for authentication on the server side even after being removed from the client. True logout functionality requires server-side revocation mechanisms to invalidate the token immediately, rather than relying solely on client-side deletion. |
| 2026-11-11 2026 | A Signing Key That Changes on Every Restart Logs Everyone Out beginner 5 min read | A restart that dynamically generates a JWT signing key causes all active sessions to become invalid, leading to users being treated as anonymous and data being misplaced. This occurs because the key, essential for token verification, is replaced on every process start. Unlike a password that can be generated once, a signing key must remain consistent to maintain continuity with existing tokens. The library now enforces this by requiring a persistent signing key at startup, failing fast if it's absent to prevent silent data corruption. |
| 2026-11-11 2026 | Bug bounty tip: exploiting JWT kid header injection for auth bypass intermediate 1 min read AuthN Bug Bounty | JWT kid header injection allows authentication bypass by manipulating the `kid` parameter during token verification. Vulnerabilities include path traversal to null, SQL injection for key retrieval, and command injection or remote key injection via unsanitized shell execution or SSRF. Exploiting these by forging tokens can lead to administrative account takeover. |
| 2026-11-10 2026 | A JWT the server never verified (XBEN-027) intermediate 4 min read AuthN | A JWT signature bypass, identified as XBEN-027, allowed an attacker to impersonate any user by forging tokens. The vulnerability arose because the application trusted the identity claims within a JSON Web Token without verifying its signature. This meant that either an unsigned token or one with an arbitrary, invalid signature could be accepted, allowing the attacker to modify the `user-id` claim and access other user accounts. |
| 2026-11-10 2026 | The JWT algorithm that verified nothing (alg:none) intermediate 4 min read AuthN | JWT `alg:none` vulnerability allowed attackers to forge tokens by specifying the `alg` header as "none" and leaving the signature empty, which some libraries accepted by default. This issue stemmed from an API design that let the token dictate its own verification. RFC 8725, updating RFC 7519, now requires applications to explicitly define supported algorithms, preventing the token header from controlling the verification process and mitigating similar attacks. |
| 2026-11-10 2026 | Off the Curve: JWT forgery CTF writeup intermediate 3 min read | Off the Curve CTF writeup details exploiting an encrypted-report portal by forging an admin JWT through an empty HMAC key. This grants access to ECDH receipts, enabling an invalid-curve attack to recover a 32-bit EC service scalar. The report is then decrypted by rebuilding the KDF, involving scrypt, HMAC-SHA256, and AES-256-GCM, highlighting vulnerabilities in JWT verification, curve membership enforcement, and KDF implementation. |
| 2026-11-10 2026 | JWT authentication bypass via flawed signature verification intermediate 1 min read AuthN Burp | JWT authentication bypass using the `alg: none` signature verification flaw allows attackers to gain administrative privileges. This technique involves altering the JWT header to specify "none" as the signing algorithm, effectively disabling signature verification and permitting payload modifications like changing the subject to "administrator." The Burp Suite JWT Editor extension automates this process by modifying the header and re-encoding the token with an empty signature. |
| 2026-11-10 2026 | Neo4j GraphQL CVE-2026-92683: JWT filter bypass news 2 min read API Sec AuthZ GraphQL | CVE-2026-92683 in Neo4j's @neo4j/graphql library, affecting versions 7.0.0 through 7.6.6, presents a high-severity authorization bypass vulnerability. Attackers with a valid JWT can circumvent all but the first filter condition when multi-condition JWT filters are implemented using generic operator syntax. This flaw, rated CVSS 8.6, arises from incorrect authorization handling within the `@authentication` directive, potentially exposing data protected by multiple security layers. |
| 2026-11-09 2026 | CVE-2026-114615: Authlib JWT algorithm confusion fix bypass intermediate 8 min read AuthN Python | CVE-2026-114615 addresses an incomplete fix in Authlib versions 1.3.1 through 1.8.0 that allowed JWT algorithm confusion. Attackers could forge tokens by using a public key as an HMAC secret due to a flawed check that only examined the start of the key. This vulnerability, affecting approximately 103 million downloads, is now resolved in Authlib 1.9.0 with a more robust check that inspects the entire key for unsafe markers. |
| 2026-11-09 2026 | 10 JWT Mistakes That Turn a Login Token Into a Security Hole, Each One Reproduced beginner AuthN | This article highlights ten common mistakes in handling JSON Web Tokens (JWTs) that can create security vulnerabilities. The core issue is that JWT security relies entirely on how the token is verified by the application. The content details various flaws, such as missing signatures or tokens that remain valid even after intended invalidation, turning a login token into a security risk. The article aims to reproduce each of these exploitable errors. |
| 2026-11-09 2026 | JWT Authentication Explained in Depth: Public Keys, Private Keys, HS256 vs RS256, OAuth 2.0, beginner 25 min read AuthN | JWT authentication in ASP.NET Core microservices is explained, covering concepts like authentication vs. authorization, JWT structure (header, payload, signature), and cryptographic signing algorithms. It details symmetric signing with HS256 and asymmetric signing with RS256, highlighting the importance of public/private key pairs for secure, centralized authentication, and addresses the security implications of JWT payloads not being inherently encrypted. |
| 2026-11-09 2026 | Hammer (TryHackMe): From a 4-Digit Lottery to RCE via JWT kid Abuse intermediate 9 min read RCE | Hammer (TryHackMe): A 4-digit lottery, JWT kid abuse, and command execution leading to RCE. This walkthrough details finding a hidden directory prefix, bypassing a rate-limited password reset by rotating sessions and guessing recovery codes, and exploiting a JWT signing vulnerability where the 'kid' parameter pointed to a filesystem path, enabling the attacker to control the signing key. The final step involved identifying an AJAX endpoint for command execution, culminating in remote code execution. |
| 2026-11-08 2026 | JWT vulnerabilities: algorithm confusion, alg none and fixes intermediate 20 min read AuthN | Reference summarizing JWT vulnerabilities including algorithm confusion and "alg: none," detailing attacks like switching RS256 to HS256 and injecting attacker-supplied JWKs. It emphasizes validation checks based on RFC 8725, such as pinning algorithms and keys server-side, rejecting unsigned tokens, and verifying issuer and audience claims. The entry notes these flaws are present in products like WSO2, pac4j, and Apache CXF, and provides practical guidance for code reviews and library configurations for libraries such as jose, PyJWT, Nimbus, and Spring. |
| 2026-11-08 2026 | The Five-Check JWT Chain: how I break token auth before business logic advanced AuthN Bug Bounty | This article details a five-step methodology for exploiting JSON Web Token (JWT) authentication vulnerabilities *before* reaching the application's business logic. The author outlines techniques to bypass token validation, effectively allowing unauthorized access. This approach focuses on flaws in how JWTs are processed, enabling attackers to manipulate or forge tokens to gain privileges or access protected resources. The core idea is to find vulnerabilities in the authentication layer itself, rather than in the subsequent application logic. → thexssrat.medium.com |
| 2026-11-07 2026 | Securing the Edge: Implementing JWT Blacklisting and Resilient Authentication in Node.js & Express intermediate 3 min read API Sec AuthN | Node.js and Express applications can improve authentication resilience by implementing JWT blacklisting to address the vulnerability of stateless tokens. This technique, demonstrated through an Express middleware, allows for immediate revocation of compromised or logged-out tokens by adding them to an in-memory store or a fast-lookup cache, preventing unauthorized access until the token's natural expiration. The guide also covers secure logout implementation and advises on production best practices like using Redis for distributed environments and managing secrets via environment variables. |
| 2026-11-07 2026 | The Five-Check JWT Chain: How I Break Token Auth Before I Touch the Business Logic advanced | This content outlines a five-step process for finding vulnerabilities in JSON Web Token (JWT) authentication before delving into business logic. The author emphasizes that most JWT bugs are discovered within the initial three checks and details their specific order for exploitation. The aim is to exploit weaknesses in token authentication early in the testing process. → thexssrat.medium.com |
| 2026-11-07 2026 | API-P-5: Token Attacks: Breaking Weak Authentication, Predictable Tokens, and JWT Misconfigurations intermediate 12 min read API Sec AuthN | Library for identifying weak token generation, JWT validation flaws, algorithm confusion, and authentication vulnerabilities. It utilizes Burp Suite Sequencer for analyzing token randomness and character-level predictability, and the JWT_Tool for automating tests against common JWT weaknesses like the "none" algorithm attack, algorithm confusion, and secret cracking. The resource emphasizes that JWT payloads are encoded, not encrypted, and should not contain sensitive information. |
| 2026-11-07 2026 | The JWT Bugs That Survive ‘We Use OAuth, So We’re Secure’ intermediate 12 min read API Sec AuthN Bug Bounty | JWT algorithm confusion and JWKS trust failures allow attackers to forge tokens, often by exploiting how resource servers choose verification keys and algorithms. Even with OAuth 2.0 and OIDC, flaws in custom verification logic, such as accepting multiple algorithms or improperly trusting JWKS endpoints, can enable attackers to mint administrator tokens by manipulating JWT headers and payloads, bypassing security controls. |
| 2026-11-06 2026 | The Five-Check JWT Chain for breaking token auth advanced AuthN Bug Bounty | This content introduces "The Five-Check JWT Chain," a novel method for compromising JSON Web Token (JWT) authentication. It outlines a specific attack vector that involves chaining five distinct vulnerabilities or misconfigurations within a JWT implementation. Successful exploitation of this chain allows an attacker to bypass authentication mechanisms and potentially gain unauthorized access. The exact details of the five checks and how they combine to break token authentication are the core focus of this approach. → thexssrat.medium.com |
| 2026-11-06 2026 | JWTKit 5.8.0 security fixes news 2 min read AuthN | JWTKit 5.8.0 and vapor/jwt 5.2.0 address multiple security vulnerabilities, including GHSA-gxx9-vxm7-hgrq where identity tokens could be accepted for the wrong client by failing to check the `aud` claim, GHSA-hfm2-66rr-3mcf involving malicious numeric JWT headers causing application crashes, GHSA-jhmq-wqhf-47x2 identified through fuzzing leading to denial-of-service crashes from deeply nested headers or invalid claims, and GHSA-pfgx-7g34-46fm where a token could incorrectly influence certificate validation time. Updates enforce audience verification, prevent header parsing crashes, limit header nesting, and default certificate validation to the current time. |
| 2026-11-06 2026 | PyJWT 2.14/2.15: algorithm confusion advisories explained news 4 min read AuthN Python | PyJWT 2.14.0 and 2.15.0 address fourteen CVEs, primarily revolving around algorithm confusion where public keys are mistakenly accepted as HMAC secrets. This vulnerability, affecting a wide range of Python web applications, arises from misconfigurations in the `jwt.decode()` function's `algorithms` argument, allowing attackers to sign tokens using a trusted public key as an HMAC secret. Updates to version 2.15.0 or later are recommended, alongside configuration best practices such as avoiding mixed algorithm lists and segregating key types. |
| 2026-11-06 2026 | SUSE security update for python-PyJWT news 2 min read Python | Update addresses security vulnerabilities in python-PyJWT, including CVE-2026-101917 (amplified outbound requests), CVE-2026-101918 (HTTP 500 exceptions), CVE-2026-102267 (disclosed credentials/key substitution), CVE-2026-102268 and CVE-2026-102271 (forged HMAC tokens), CVE-2026-102269 (revocation check bypass), CVE-2026-102270 (CPU consumption), CVE-2026-102274 (JWK Set parsing abortion), CVE-2026-102275 (stolen token use), and CVE-2026-103001 (verification bypass). |
| 2026-11-05 2026 | Stop Pasting Your JWT Into Random Websites Just to Read It beginner 2 min read | Decoding JWTs by pasting them into online decoders is a risky practice that sends live credentials to unknown servers. JWTs are readable by design, with header and payload parts base64url-encoded; only signature verification confirms authenticity. An unexpired access token acts as a password, and any site receiving it could record it. Safely decode tokens locally in the browser, treat decoding as reading not verifying, check `exp` and `nbf` claims, and reject `alg: none` tokens. |
| 2026-11-05 2026 | How Your API Knows Who You Are (and What You Can Do) beginner 9 min read | JWT (JSON Web Token) provides stateless authentication for APIs, enabling them to remember users across stateless HTTP requests. A JWT consists of a header, a payload containing user claims (like ID, name, and roles), and a signature for integrity verification. APIs verify the signature and claims to authenticate users, differentiating authentication (who you are) from authorization (what you can do). Role-Based Access Control (RBAC) uses roles defined within the JWT to determine user permissions. Access and refresh tokens are commonly used together, with short-lived access tokens for requests and longer-lived refresh tokens to obtain new access tokens, enhancing security by limiting the impact of stolen credentials. |
| 2026-11-04 2026 | A JWT That Expired a Minute Ago Still Returned 200: What I Hit on .NET 10 intermediate | A security researcher discovered an API vulnerability on .NET where an expired JWT token was still accepted. The default `ClockSkew` setting in .NET's JWT validation allowed a five-minute grace period for expired tokens, causing the API to return a 200 OK status even though the token was technically invalid. This could potentially allow unauthorized access if not properly configured. The article details the findings and implications of this overlooked security aspect. |
| 2026-11-04 2026 | JSON Web Token (JWT) Security Pitfalls: alg: none, Weak HMAC Secrets beginner 7 min read Secrets | JSON Web Token (JWT) security pitfalls include accepting unsigned tokens with `alg: "none"`, allowing algorithm confusion between asymmetric and symmetric signatures, using weak HMAC secrets vulnerable to offline cracking, and exposing live bearer tokens to server-side debuggers. Implementing hardened verification code that strictly pins allowed algorithms, enforces issuer and audience claims, and utilizes client-side verification tools like the PixelValut JWT Decoder and Signature Verifier can mitigate these risks. |
| 2026-11-03 2026 | Issuing and Validating JWT Access Tokens in ASP.NET Core intermediate 13 min read | ASP.NET Core Identity users can issue and validate signed 15-minute JWT access tokens using `JsonWebTokenHandler`. Register users, log them in with password hashing and account lockout, and protect API endpoints. Tokens are validated for issuer, audience, lifetime, HS256 algorithm, and include a 30-second clock skew. Strict validation of signing key length at startup is emphasized, along with avoiding common pitfalls like incorrect middleware order. |
| 2026-11-02 2026 | PyJWT: PyJWK accepts empty HMAC keys (CVE-2026-102266) news 6 min read AuthN Python | PyJWT, specifically versions prior to fixes for CVE-2026-102266, exhibits an authentication bypass when verifying HS256 tokens. An empty HMAC key provided as a symmetric `PyJWK` object is accepted by the library, allowing attackers to forge tokens with arbitrary claims. This occurs because the `PyJWK` verification path bypasses the empty-key validation present in the raw key path, even with default `enforce_minimum_key_length=False` settings. Services using `PyJWK` or `PyJWKSet` with an empty HMAC JWK configuration are vulnerable. |
| 2026-11-02 2026 | @fastify/jwt malformed time spans create never-expiring tokens (CVE-2026-107275) news AuthN | The @fastify/jwt package is affected by CVE-2026-107275, an authentication bypass vulnerability. This flaw allows for the creation of never-expiring JSON Web Tokens (JWTs) by utilizing malformed time spans. Attackers can exploit this to bypass authentication mechanisms. The advisory details the impact, lists vulnerable versions, and provides mitigation strategies to address the issue. → sentinelone.com |
| 2026-11-02 2026 | Breaking JWT Validation: How JSON Nulls, Python Booleans, and Unhandled Exceptions Bypass jwcrypto intermediate 3 min read AuthN AuthZ Python | jwcrypto versions <= 1.6.1 are vulnerable to JWT validation bypasses and denial-of-service attacks due to improper handling of JSON nulls and Python boolean types. The library incorrectly accepted `null` values for required claims by treating them as valid presence indicators, and allowed Python booleans to masquerade as valid numeric date timestamps because `bool` is a subclass of `int`. These flaws could lead to unauthorized access or application crashes via unhandled exceptions. A fix has been implemented to enforce strict integer validation for timestamps and disallow null values. |
| 2026-11-02 2026 | Simple Admin Core hardcoded JWT secret admin auth bypass writeup intermediate 7 min read AuthN Secrets | Simple Admin Core versions prior to v1.8.7 are vulnerable to an authentication bypass due to a hardcoded JWT `AccessSecret`. The default configuration ships with `jS6VKDtsJf3z1n2VKDtsJf3z1n2`, allowing any attacker to forge a JWT with the super-admin `roleId` of "001". This forged token is verified by the server and honored by the authorization middleware, granting full administrative privileges without needing a valid account. The vulnerability stems from the hardcoded secret, the server's reliance on the token's role claim, and the seeded super-admin role encompassing all policies. |
| 2026-11-01 2026 | Simple Admin Core hard-coded JWT secret authentication bypass intermediate 1 min read AuthN Secrets | Simple Admin Core through 1.8.7 suffers from an authentication bypass vulnerability (CVE-2026-111690) due to a hard-coded JWT secret in `api/etc/core.yaml`. Attackers can forge super administrator tokens by signing a JWT with the public secret and a specific `roleId` claim, granting them full administrative control over the application. This bypass allows unauthenticated users to gain elevated privileges. |
| 2026-11-01 2026 | fast-jwt RSA-to-HS256 algorithm confusion (CVE-2026-107722) intermediate 6 min read AuthN | CVE-2026-107722 details a critical vulnerability in the `fast-jwt` library (versions 6.2.0 to < 6.3.0) where RSA public keys with leading non-whitespace content are misclassified as HMAC secrets. This algorithm confusion, stemming from an incomplete PEM header match, allows attackers to sign arbitrary HS256 claims using public key material, potentially leading to authentication or authorization bypass. The issue is fixed in version 6.3.0, and an asymmetric-only algorithm allowlist can prevent the attack. |
| 2026-10-31 2026 | Stop Storing JWTs in localStorage: React Auth with Refresh Tokens and httpOnly Cookies intermediate 2 min read | React authentication patterns vulnerable to XSS and compromised packages can be mitigated by avoiding localStorage for JWT storage. Instead, utilize short-lived access tokens held in application memory, disappearing on page refresh, and secure, httpOnly refresh tokens stored in server-sent cookies. This approach ensures only the server can access the refresh token, facilitating seamless token renewal when the access token expires, and can be further strengthened with httpOnly, secure, and sameSite cookie attributes, a shared refresh call mechanism for parallel requests, and server-side token revocation. |
| 2026-10-31 2026 | Stolen Access Tokens: Stopping Someone Else From Using a Token intermediate 12 min read | Stolen access tokens can be mitigated by making them short-lived, difficult to reuse, and quick to detect. While IP binding offers some protection, it often harms usability with network changes and shared IPs. More effective strategies include employing short access token expiry periods, refresh token rotation to invalidate previously compromised tokens, and implementing sender-constrained tokens like DPoP or mTLS, which cryptographically bind tokens to the legitimate client's key, rendering stolen tokens unusable. |
| 2026-10-31 2026 | Is Your JWT Implementation Safe, or Are You Leaking Sessions? intermediate 6 min read | JWT (JSON Web Token) implementations are often vulnerable due to algorithm confusion, sensitive data in payloads, and overly long token lifetimes. Secure JWT practices involve pinning algorithms server-side, validating claims like issuer and audience, minimizing payload content, implementing short lifetimes with refresh rotation, and storing tokens in httpOnly cookies. Indian application teams must also adhere to DPDP Act data minimization and CERT-In's log retention requirements for authentication events. |
| 2026-10-31 2026 | JWT Authentication: Structure, Attacks, and Why Weak Signature Validation Gets You Pwned beginner 6 min read API Sec AuthN | JWT authentication weaknesses, particularly in signature validation, enable common attacks like algorithm `none` bypass, weak secret brute-forcing, and algorithm confusion (RS256 to HS256). Exploitation stems from trusting attacker-controlled token headers, such as the `alg` field, leading to authentication bypass. Defensive measures include pinning expected algorithms, rejecting unsigned tokens, using strong secrets, and validating `iss`/`aud` claims to prevent unauthorized access. |
| 2026-10-31 2026 | A JWT Checklist Before You Ship Login: 5 Settings Most APIs Get Wrong intermediate Secrets | This content highlights five critical JWT (JSON Web Token) settings that APIs frequently misconfigure before shipping their login features. Proper configuration is essential for security. The article serves as a checklist to help developers avoid common pitfalls and secure their authentication mechanisms, ensuring that JWTs are implemented correctly to prevent vulnerabilities. |
| 2026-10-06 2026 | Smashing the token limit with overlapping fragments advanced 7 min read AuthN | Overlapping fragments enable larger token exfiltration via CSS by reconstructing tokens from smaller, stitched-together pieces rather than brute-forcing characters. This technique, demonstrated with reduced CSS payloads for short tokens, also allows for the extraction of significantly longer tokens by strategically using chunk overlaps and targeted checks, even within the constraints of a large CSS budget. → portswigger.net |
| 2026-08-15 2026 | Revisiting JWT Token Forgery Attack on Recent Bounty Target intermediate 9 min read | JWT token forgery via the `alg=none` attack, where an attacker crafts an unsigned token with claims controlling authentication and authorization, can lead to authentication bypass and sensitive data exposure. This technique exploits servers that fail to properly validate JWT signatures, allowing attackers to impersonate users and access unauthorized partner records without valid credentials or sessions. → infosecwriteups.com |
| 2026-08-07 2026 | I made a full JWT hacking tutorial + testing suite intermediate 7 min read | JWT hacking toolkit allows users to decode, edit, and re-sign JSON Web Tokens with one-click forgeries, including alg:none and algorithm confusion attacks. Running entirely in the browser, the tool features a walkthrough mode with explanations for each step, claim details, and signature bypass techniques to exploit servers that trust token data, such as weak secret re-signing and key injection. |
| 2026-07-23 2026 | Two Ways To Mess Up Your JWT Safety Net In Your Own Lab. intermediate 7 min read AuthN | JWT vulnerabilities in web application labs can arise from improper signature verification and inadequate client-side access controls. Exploiting a JWT involves modifying its payload, such as changing a user's role to 'admin,' without re-signing the token. This bypasses backend authorization checks when libraries like `jwt.decode` are used instead of the secure `jwt.verify` function. Additionally, frontend JavaScript checks for administrative roles are ineffective if not properly secured by backend validation, allowing unauthorized access to restricted pages. → infosecwriteups.com |