Live threats

All CVEs / Jruby

CVE-2010-1330Jruby

Medium 4.3 No auth needed

Priority
41
CVSS 2.0
4.3
EPSS
2.2%
probability of exploitation in 30 days · percentile 83
Auth required
No
Published
Nov 23, 2012
Updated
Jun 16, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-79
Vector
AV:N/AC:M/Au:N/C:N/I:P/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Jruby.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Maven org.jruby:jruby-core < 1.4.1 1.4.1 —

Per OSV / GitHub Advisories (GHSA-wmq2-jc9m-xp4m). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
jrubyjruby≤ 1.4.0
jrubyjruby0.9.0
jrubyjruby0.9.1
jrubyjruby0.9.2
jrubyjruby0.9.8
jrubyjruby0.9.9
jrubyjruby1.0.0
jrubyjruby1.0.0
jrubyjruby1.0.0
jrubyjruby1.0.0
jrubyjruby1.0.1
jrubyjruby1.0.2
jrubyjruby1.0.3
jrubyjruby1.1
jrubyjruby1.1
jrubyjruby1.1
jrubyjruby1.1
jrubyjruby1.1
jrubyjruby1.1.1
jrubyjruby1.1.2
jrubyjruby1.1.3
jrubyjruby1.1.4
jrubyjruby1.1.5
jrubyjruby1.1.6
jrubyjruby1.1.6
jrubyjruby1.2.0
jrubyjruby1.2.0
jrubyjruby1.2.0
jrubyjruby1.3.0
jrubyjruby1.3.0
jrubyjruby1.3.0
jrubyjruby1.3.1
jrubyjruby1.4.0
jrubyjruby1.4.0
jrubyjruby1.4.0

Official sources

References

Links published by the sources. Open them with care.