Insecure Default Initialization of Resource in phpMyFAQ - #VU131752
Published: May 18, 2026
phpMyFAQ
Detailed vulnerability description
The vulnerability allows a remote attacker to modify FAQ entries, categories, and questions via the REST API without authentication.
The vulnerability exists due to initialization of a resource with an insecure default in the REST API token authentication check when handling requests with an empty x-pmf-token header. A remote attacker can send crafted API requests with an empty token header to modify FAQ entries, categories, and questions via the REST API without authentication.
The issue affects installations where the API client token remains unset in its default empty state, and the affected write endpoints rely on hasValidToken() as their only authentication check.