Skip to content

Improve security of messages endpoint (0.7 branch).#520

Merged
dcavins merged 1 commit into
buddypress:0.7from
dcavins:messages-permissions-0.7
Jul 7, 2026
Merged

Improve security of messages endpoint (0.7 branch).#520
dcavins merged 1 commit into
buddypress:0.7from
dcavins:messages-permissions-0.7

Conversation

@dcavins

@dcavins dcavins commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

In messages endpoint, sanitize the incoming user_id parameter value to avoid user spoofing.

Special thanks to trihedron who first reported this issue responsibly.

Props emaralive, jjj, espellcaste, trihedron, substitute99, j2k14a, g_r_i_n_n, pythonime, dizconnect (Sanjorn Keeratirungsan), eneednar19, bb-hunter (Mustafa Ahmed), yhalo (Yaohui Wang), Ngo Anh Duc, ekbreks, jeromewincek (Jerome Wincek), taylsec, ajaah-254, izumi_hyun, mickey_cyberkid (Michael Okyere), underdog_theori, duyytrann (Duy Tran), safe-us (Safe Us Team), miauuu, daupaul (Dau-Po Yu).

In messages endpoint, sanitize the incoming `user_id` parameter value to avoid user spoofing.

Special thanks to trihedron who first reported this issue responsibly.

Props emaralive, jjj, renato, trihedron, substitute99, j2k14a, g_r_i_n_n, pythonime, dizconnect (Sanjorn Keeratirungsan), eneednar19, bb-hunter (Mustafa Ahmed), yhalo (Yaohui Wang), Ngo Anh Duc, ekbreks, jeromewincek (Jerome Wincek), taylsec, ajaah-254, izumi_hyun, mickey_cyberkid (Michael Okyere), underdog_theori, duyytrann (Duy Tran), safe-us (Safe Us Team), miauuu, daupaul (Dau-Po Yu).
@dcavins dcavins merged commit 1ab4510 into buddypress:0.7 Jul 7, 2026
0 of 7 checks passed
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.

1 participant