LOW: No Input Sanitization for User Content #13
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
User messages and commands are not sanitized before being processed or displayed, potentially allowing XSS or injection attacks.
Where It Occurs
Why This Is a Problem
What Can Go Wrong
Scenario 1: XSS in Web UI
Proposed Fix
Sanitize all user input before storage and display.
Severity
LOW - Web UI exposure limited; Discord API provides some protection.
Files Affected
bot/commands/, bot/api.py, bot/utils/llm.py