Skip to content

fix: Endpoint /sessions/me bypasses _Session protectedFields (GHSA-g4v2-qx3q-4p64)#10407

Merged
mtrezza merged 1 commit intoparse-community:release-8.x.xfrom
mtrezza:fix/GHSA-g4v2-qx3q-4p64-v8
Apr 6, 2026
Merged

fix: Endpoint /sessions/me bypasses _Session protectedFields (GHSA-g4v2-qx3q-4p64)#10407
mtrezza merged 1 commit intoparse-community:release-8.x.xfrom
mtrezza:fix/GHSA-g4v2-qx3q-4p64-v8

Conversation

@mtrezza
Copy link
Copy Markdown
Member

@mtrezza mtrezza commented Apr 6, 2026

Issue

/sessions/me bypasses _Session protectedFields (GHSA-g4v2-qx3q-4p64)

Tasks

  • Add tests
  • Add changes

@parse-github-assistant
Copy link
Copy Markdown

parse-github-assistant bot commented Apr 6, 2026

🚀 Thanks for opening this pull request! We appreciate your effort in improving the project. Please let us know once your pull request is ready for review.

Tip

  • Keep pull requests small. Large PRs will be rejected. Break complex features into smaller, incremental PRs.
  • Use Test Driven Development. Write failing tests before implementing functionality. Ensure tests pass.
  • Group code into logical blocks. Add a short comment before each block to explain its purpose.
  • We offer conceptual guidance. Coding is up to you. PRs must be merge-ready for human review.
  • Our review focuses on concept, not quality. PRs with code issues will be rejected. Use an AI agent.
  • Human review time is precious. Avoid review ping-pong. Inspect and test your AI-generated code.

Note

Please respond to review comments from AI agents just like you would to comments from a human reviewer. Let the reviewer resolve their own comments, unless they have reviewed and accepted your commit, or agreed with your explanation for why the feedback was incorrect.

Caution

Pull requests must be written using an AI agent with human supervision. Pull requests written entirely by a human will likely be rejected, because of lower code quality, higher review effort and the higher risk of introducing bugs. Please note that AI review comments on this pull request alone do not satisfy this requirement. Our CI and AI review are safeguards, not development tools. If many issues are flagged, rethink your development approach. Invest more effort in planning and design rather than using review cycles to fix low-quality code.

@codecov
Copy link
Copy Markdown

codecov bot commented Apr 6, 2026

Codecov Report

❌ Patch coverage is 81.81818% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 92.44%. Comparing base (1be6c97) to head (8e3c5a5).
⚠️ Report is 3 commits behind head on release-8.x.x.

Files with missing lines Patch % Lines
src/Routers/SessionsRouter.js 81.81% 2 Missing ⚠️
Additional details and impacted files
@@                Coverage Diff                @@
##           release-8.x.x   #10407      +/-   ##
=================================================
+ Coverage          92.03%   92.44%   +0.40%     
=================================================
  Files                192      192              
  Lines              16124    16131       +7     
  Branches             226      226              
=================================================
+ Hits               14840    14912      +72     
+ Misses              1258     1197      -61     
+ Partials              26       22       -4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@mtrezza mtrezza changed the title fix: GHSA-g4v2-qx3q-4p64 v8 fix: /sessions/me bypasses _Session protectedFields (GHSA-g4v2-qx3q-4p64) Apr 6, 2026
@mtrezza mtrezza changed the title fix: /sessions/me bypasses _Session protectedFields (GHSA-g4v2-qx3q-4p64) fix: Endpoint /sessions/me bypasses _Session protectedFields (GHSA-g4v2-qx3q-4p64) Apr 6, 2026
@mtrezza mtrezza merged commit 6ecc642 into parse-community:release-8.x.x Apr 6, 2026
25 of 28 checks passed
parseplatformorg pushed a commit that referenced this pull request Apr 6, 2026
## [8.6.75](8.6.74...8.6.75) (2026-04-06)

### Bug Fixes

* Endpoint `/sessions/me` bypasses `_Session` `protectedFields` ([GHSA-g4v2-qx3q-4p64](GHSA-g4v2-qx3q-4p64)) ([#10407](#10407)) ([6ecc642](6ecc642))
@parseplatformorg
Copy link
Copy Markdown
Contributor

🎉 This change has been released in version 8.6.75

@parseplatformorg parseplatformorg added the state:released-8.x.x Released as LTS version label Apr 6, 2026
@mtrezza mtrezza deleted the fix/GHSA-g4v2-qx3q-4p64-v8 branch April 6, 2026 18:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

state:released-8.x.x Released as LTS version

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants