Skip to content

fix(security): escape token to prevent XSS in auth endpoint#511

Open
dumko2001 wants to merge 1 commit intovivekchand:mainfrom
dumko2001:fix-005
Open

fix(security): escape token to prevent XSS in auth endpoint#511
dumko2001 wants to merge 1 commit intovivekchand:mainfrom
dumko2001:fix-005

Conversation

@dumko2001
Copy link
Copy Markdown
Contributor

Summary

Escape token parameter in /auth endpoint to prevent XSS attacks.

Changes

  • Add proper HTML escaping for token value reflected in JavaScript
  • Prevents token injection via reflected parameters

Testing

tests/test_api.py - verifies XSS prevention

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.

1 participant