It has been reported that OpenAutoClassifieds is prone to a cross-site scripting vulnerability. The issue is reported to exist due insufficient sanitization of user-supplied data through the 'listings' parameter. The problem may allow a remote attacker to execute HTML or script code in the browser of a user following a malicious link created by an attacker.
Successful exploitation of this attack may allow an attacker to steal cookie-based authentication information that could be used to launch further attacks.
OpenAutoClassifieds version 1.0 is reported to be prone to this issue, however other versions may be affected as well.
OpenAutoClassifieds contains a flaw that allows a remote cross site scripting attack. This flaw exists because the application does not validate the "listing" variable upon submission to the friendmail.php script. This could allow a user to create a specially crafted URL that would execute arbitrary code in a user's browser within the trust relationship between the browser and the server, leading to a loss of integrity.
Currently, there are no known upgrades or patches to correct this issue. It is possible to correct the flaw by implementing the following workaround(s): Modify the script 'friendmail.php' to validate the contents of the 'listing' variable, escaping all special characters.