Multiple vulnerabilities have been discovered in CmyDocument, which can be exploited by malicious people to conduct cross-site scripting and SQL injection attacks.
1) Input passed to the "username" parameter in login.asp and login2.asp is not properly sanitised before being returned to the user. This can be exploited to execute arbitrary HTML and script code in a user's browser session in context of an affected site.
2) Input passed to the "x_Revised" parameter in myDoclist.asp and myWebDoclist.asp is not properly sanitised before being used in a SQL query. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code.
Note: This can further be exploited to conduct cross-site scripting attacks through SQL error messages.
The vulnerabilities are confirmed in CmyDocument (2010-01-10). Other versions may also be affected.
Vulnerable Products
Vulnerable Software: CmyDocument
Solution
Edit the source code to ensure that input is properly sanitised.