The issue allows high privilege users, such as admins, to query arbitrary files on the web server via a path traversal vector due to improper validation of the path of files to be searched. Additionally, a flaw in the search function allows a pattern to be provided, which can be used to output relevant matches from the matching file, potentially disclosing all content of the file.