[原文]Cross-site scripting (XSS) vulnerability in index.php in Greg Neustaetter gCards 1.45 and earlier allows remote attackers to inject arbitrary web script or HTML via the lang[*][file] parameter, which is injected into an error message. NOTE: this issue might be resultant from CVE-2006-1346.
gCards contains a flaw that allows a remote cross site scripting attack. This flaw exists because the application does not validate the 'lang' variable upon submission to the inc/setLang.php script, which is called from index.php. 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.
Upgrade to version 1.46 or higher, as it has been reported to fix this vulnerability. An upgrade is required as there are no known workarounds.