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.
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.
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.