Project

General

Profile

Actions

Bug #2

open
SB FU

Employee can read another user's salary by supplying their email (GET /get-salary?email=)

Bug #2: Employee can read another user's salary by supplying their email (GET /get-salary?email=)

Added by Safia Borsha about 2 months ago. Updated 10 days ago.

Status:
New
Priority:
High
Assignee:
Start date:
Due date:
% Done:

0%

Estimated time:

Description

The /get-salary endpoint fetches salary data based on an email query parameter, but never checks whether the requester is authorized to view that specific person's salary. A low-privileged authenticated user can simply pass any other employee's email address and receive that person's full salary breakdown, instead of being restricted to their own record.


Files

Screenshot 2026-07-29 170345.png (36.4 KB) Screenshot 2026-07-29 170345.png Safia Borsha, 07/29/2026 05:03 PM
Screenshot 2026-07-29 170345.png

MA Updated by Miaki Admin 10 days ago Actions #1

  • Project changed from HRMS Portal to Sprint 3

MA Updated by Miaki Admin 10 days ago Actions #2

  • Project changed from Sprint 3 to Sprint 1
Actions

Also available in: PDF Atom