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://rhn.redhat.com/errata/RHSA-2011-1456.html
http://secunia.com/advisories/46891
http://www.jruby.org/2010/04/26/jruby-1-4-1-xss-vulnerability.html
http://www.osvdb.org/77297
https://bugs.gentoo.org/show_bug.cgi?id=317435
https://bugzilla.redhat.com/show_bug.cgi?id=750306
https://exchange.xforce.ibmcloud.com/vulnerabilities/80277
Related Vulnerabilities
CVE-2018-6341 Vulnerability in npm package react-dom
CVE-2017-1000362 Vulnerability in maven package org.jenkins-ci.main:jenkins-core
CVE-2016-5007 Vulnerability in maven package org.springframework:spring-webmvc
CVE-2022-28150 Vulnerability in maven package com.synopsys.jenkinsci:ownership
CVE-2019-10306 Vulnerability in maven package org.jenkins-ci.plugins:ontrack