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.
rhn.redhat.com/errata/RHSA-2011-1456.html
secunia.com/advisories/46891
www.jruby.org/2010/04/26/jruby-1-4-1-xss-vulnerability.html
www.osvdb.org/77297
bugs.gentoo.org/show_bug.cgi?id=317435
bugzilla.redhat.com/show_bug.cgi?id=750306
exchange.xforce.ibmcloud.com/vulnerabilities/80277
github.com/jruby/jruby
nvd.nist.gov/vuln/detail/CVE-2010-1330