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

Severity: MEDIUM

Location: src/Controllers/AdminBbsListingController.php:55, 108

Bug: Arbitrary strings accepted for terminal_type.

Fix: Enum whitelist with fallback.

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

0
Regular Newbie Apr 17, 2026 6:54pm

Resolved.

AdminBbsListingController::store and update now strict-validate terminal_type against the ENUM set (ansi/ascii/petscii/amiga/atascii) with ansi as the fallback. Matches the pattern already used by promoteToFeatured. Mariadb strict-mode truncation errors on bogus inputs are eliminated.

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