Ruby on Rails contains a flaw that allows a remote cross-site scripting (XSS) attack. This flaw exists because input passed via the prompt value is not properly sanitized by the select_tag helper method before returning it to the user. This may allow a user to create a specially crafted request that would execute arbitrary script code in a user's browser within the trust relationship between their browser and the server.
Classification
Location:
Remote / Network Access
Attack Type:
Input Manipulation
Impact:
Loss of Integrity
Solution:
Patch / RCS,
Upgrade
Exploit:
Exploit Public
Disclosure:
Vendor Verified
OSVDB:
Web Related
Solution
Upgrade to version 3.0.17, 3.1.8 or 3.2.8 or higher, as it has been reported to fix this vulnerability. In addition, the vendor has released a patch for some older versions.