The vulnerability is a missing authorization check in four API write endpoints of phpMyFAQ. The affected functions only validated the API token using hasValidToken() but did not check for user-specific permissions using userHasPermission(). This allowed any authenticated user with an API token to perform administrative actions such as creating categories, FAQs, and questions, regardless of their assigned roles and permissions. The analysis of the fixing commit d5c195b1ecf5dc30fb825d7eb50d22481c24cb07 clearly shows the addition of the necessary userHasPermission() calls in the vulnerable functions, confirming the flaw. These functions are the exact locations in the code that would be executed during an exploit and would appear in a runtime profile.