The issue arises from the plugin not escaping IP addresses of attempted logins before outputting them in the reports table. This can be exploited by an attacker controlling the IP address via headers such as X-Forwarded-For, leading to an Unauthenticated Stored Cross-Site Scripting issue.