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.
{
"nvd_published_at": "2012-11-23T19:55:00Z",
"severity": "MODERATE",
"github_reviewed_at": "2022-11-01T22:47:20Z",
"github_reviewed": true,
"cwe_ids": [
"CWE-79"
]
}