0
OP Regular Newbie Apr 17, 2026 6:24pm

Severity: MEDIUM

Location: src/Models/User.php:92-96

Bug: Future form that includes suspension_reason in $data could bypass the opt-in model.

Fix: Add suspension_reason to the list.

Status: open. Will reply with remediation details when resolved.

0
Regular Newbie Apr 17, 2026 6:54pm

Resolved.

Added 'suspension_reason' to User::PROTECTED_UPDATE_KEYS (src/Models/User.php). A future form handler that included suspension_reason in the $data array would now hit the opt-in guard instead of silently writing. Existing User::update(..., true) callers are unaffected — they already pass the $allowProtected flag.

Locking this thread.

Log in or register to reply to this thread.

We use cookies to enhance your experience on 6502ish.com. Essential cookies keep the site running. Analytics cookies help us understand how the site is used. Cookie Settings | Privacy Policy