Commit 077dedf
Security: fix SQL precedence so soft-deleted users stay filtered
The user list query in access_url_add_users_to_url.php mixed AND and OR
without parentheses, so SQL precedence made the active <> USER_SOFT_DELETED
filter apply only to the first LIKE clause; the trailing OR clause returned
matching users regardless of status, exposing soft-deleted accounts.
Wrap the OR group in parentheses so the active-status filter applies to the
whole match.
Refs GHSA-6cmq-j35w-q932
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 4ebcf1a commit 077dedf
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
88 | | - | |
| 88 | + | |
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
| |||
0 commit comments