Description
The regular expression engine in JRuby before 1.4.1, when $KCODE is set to 'u', does not properly handle characters immediately after a UTF-8 character, which allows remote attackers to conduct cross-site scripting (XSS) attacks via a crafted string.
Remediation
References
http://www.jruby.org/2010/04/26/jruby-1-4-1-xss-vulnerability.html
http://secunia.com/advisories/46891
https://bugzilla.redhat.com/show_bug.cgi?id=750306
https://bugs.gentoo.org/show_bug.cgi?id=317435
http://rhn.redhat.com/errata/RHSA-2011-1456.html
http://www.osvdb.org/77297
https://exchange.xforce.ibmcloud.com/vulnerabilities/80277