mirror of
https://github.com/formbricks/formbricks.git
synced 2026-05-11 19:12:06 -05:00
fc762ebffc
- updateSegmentAction: use getOrganizationIdFromSegmentId instead of getOrganizationIdFromEnvironmentId to prevent IDOR via caller-supplied environmentId - deleteQuotaAction/updateQuotaAction: use getOrganizationIdFromQuotaId and getProjectIdFromQuotaId instead of deriving from caller-supplied surveyId/quota.surveyId Addresses review feedback from @BhagyaAmarasinghe on remaining IDOR vectors in #7326.