Skip to content

Fix auth sanitize register and login responses to prevent info disclosure #87#119

Open
jahnavigu wants to merge 2 commits into
mayo-byte07:mainfrom
jahnavigu:fix-auth-privacy-87
Open

Fix auth sanitize register and login responses to prevent info disclosure #87#119
jahnavigu wants to merge 2 commits into
mayo-byte07:mainfrom
jahnavigu:fix-auth-privacy-87

Conversation

@jahnavigu
Copy link
Copy Markdown

Description

Sanitized the JSON response payloads for both the registration and login endpoints in server.js. Removed the explicit returning of id (UUID) and email fields to the client side to resolve the sensitive data exposure vulnerability.

Closes

Closes #87

@vercel
Copy link
Copy Markdown
Contributor

vercel Bot commented May 28, 2026

@jahnavigu is attempting to deploy a commit to the Mayo's projects Team on Vercel.

A member of the Team first needs to authorize it.

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.

[SECURITY] User email and UUID exposed in auth endpoint responses (information disclosure)

1 participant