CVE-2010-1330Jruby
Medium 4.3 No auth needed
Follow: this CVE · Jruby · Jruby We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for Jruby.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| jruby | jruby | ≤ 1.4.0 |
| jruby | jruby | 0.9.0 |
| jruby | jruby | 0.9.1 |
| jruby | jruby | 0.9.2 |
| jruby | jruby | 0.9.8 |
| jruby | jruby | 0.9.9 |
| jruby | jruby | 1.0.0 |
| jruby | jruby | 1.0.0 |
| jruby | jruby | 1.0.0 |
| jruby | jruby | 1.0.0 |
| jruby | jruby | 1.0.1 |
| jruby | jruby | 1.0.2 |
| jruby | jruby | 1.0.3 |
| jruby | jruby | 1.1 |
| jruby | jruby | 1.1 |
| jruby | jruby | 1.1 |
| jruby | jruby | 1.1 |
| jruby | jruby | 1.1 |
| jruby | jruby | 1.1.1 |
| jruby | jruby | 1.1.2 |
| jruby | jruby | 1.1.3 |
| jruby | jruby | 1.1.4 |
| jruby | jruby | 1.1.5 |
| jruby | jruby | 1.1.6 |
| jruby | jruby | 1.1.6 |
| jruby | jruby | 1.2.0 |
| jruby | jruby | 1.2.0 |
| jruby | jruby | 1.2.0 |
| jruby | jruby | 1.3.0 |
| jruby | jruby | 1.3.0 |
| jruby | jruby | 1.3.0 |
| jruby | jruby | 1.3.1 |
| jruby | jruby | 1.4.0 |
| jruby | jruby | 1.4.0 |
| jruby | jruby | 1.4.0 |
Official sources
References
Links published by the sources. Open them with care.
- rhn.redhat.com
- secunia.com Vendor Advisory
- www.jruby.org Exploit Patch Vendor Advisory
- www.osvdb.org
- bugs.gentoo.org
- bugzilla.redhat.com
- exchange.xforce.ibmcloud.com