[原文]Cross-site scripting (XSS) vulnerability in the search module in Traindepot 0.1 allows remote attackers to inject arbitrary web script or HTML via the query parameter to index.php.
Traindepot contains a flaw that allows a remote cross-site scripting (XSS) attack. This flaw exists because the application does not validate the ‘query’ parameter upon submission to the ‘index.php’ script. This may allow a user to create a specially crafted URL that would execute arbitrary script code in a user’s browser within the trust relationship between their browser and the server.