Two vulnerabilities have been discovered in the Profile Wii Friend Code plugin for MyBB, which can be exploited by malicious users to conduct cross-site scripting and SQL injection attacks.
1) Input passed via the "wfc" parameter to usercp.php is not properly sanitised before being used. This can be exploited to insert arbitrary HTML and script code, which will be executed in a user's browser session in context of an affected site if malicious data is viewed.
2) Input passed via the "wfc" parameter to usercp.php is not properly sanitised before being used in a SQL query. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code.
The vulnerabilities are confirmed in version 1.0. Other versions may also be affected.
Vulnerable Products
Vulnerable Software: Profile Wii Friend Code 1.x (plugin for MyBB)