Skip to content

Jsonwebtoken claim validation#23

Merged
gregnazario merged 1 commit intomainfrom
cursor/jsonwebtoken-claim-validation-379b
Feb 23, 2026
Merged

Jsonwebtoken claim validation#23
gregnazario merged 1 commit intomainfrom
cursor/jsonwebtoken-claim-validation-379b

Conversation

@gregnazario
Copy link
Copy Markdown
Collaborator

Upgrade jsonwebtoken to 10.3.0 to fix a type confusion vulnerability in claim validation.

This update addresses a vulnerability where malformed nbf or exp claims (e.g., a string instead of a number) were incorrectly treated as "not present," allowing attackers to bypass critical time-based security restrictions.


Open in Web Open in Cursor 

Co-authored-by: Greg Nazario <greg@gnazar.io>
@cursor
Copy link
Copy Markdown

cursor bot commented Feb 23, 2026

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

@gregnazario gregnazario marked this pull request as ready for review February 23, 2026 14:19
@gregnazario gregnazario requested a review from Copilot February 23, 2026 14:20
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review any files in this pull request.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@gregnazario gregnazario merged commit ed766dc into main Feb 23, 2026
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants