- Affected version
- 2.2.13
A custom user field can be defined as
Yet such fields are returned in API calls like
This could be a security issue, at least it is unexpected.
Suggested Fix
Do not return information in API calls (including but not limited to
or
Explicitly document such behaviour
- Not being editable by the user
- Not being shown on pofile pages
- Not being shown in message user info
- Not being required
Yet such fields are returned in API calls like
me if the API key has scope user:read.This could be a security issue, at least it is unexpected.
Suggested Fix
Do not return information in API calls (including but not limited to
me) that is otherwise not normally accessible by the user (Preferred)or
Explicitly document such behaviour
Last edited: