CVE-2010-1330
CVE-2010-1330 is a medium-severity vulnerability in Jruby with a CVSS 2.0 base score of 4.3. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-79.
Key facts
- Severity: Medium (CVSS 2.0 base score 4.3)
- EPSS exploit prediction: 2% (81st percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-79
- Affected product: Jruby
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2010-1330?
- 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.
- How severe is CVE-2010-1330?
- CVE-2010-1330 has a CVSS 2.0 base score of 4.3, rated medium severity.
- Is CVE-2010-1330 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 2% (81st percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2010-1330?
- CVE-2010-1330 primarily affects Jruby. In total, 35 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2010-1330?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- When was CVE-2010-1330 published?
- CVE-2010-1330 was published on 2012-11-23 and last updated on 2026-06-16.
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
Affected products (35)
- cpe:2.3:a:jruby:jruby:*:*:*:*:*:*:*:*
- cpe:2.3:a:jruby:jruby:0.9.0:*:*:*:*:*:*:*
- cpe:2.3:a:jruby:jruby:0.9.1:*:*:*:*:*:*:*
- cpe:2.3:a:jruby:jruby:0.9.2:*:*:*:*:*:*:*
- cpe:2.3:a:jruby:jruby:0.9.8:*:*:*:*:*:*:*
- cpe:2.3:a:jruby:jruby:0.9.9:*:*:*:*:*:*:*
- cpe:2.3:a:jruby:jruby:1.0.0:*:*:*:*:*:*:*
- cpe:2.3:a:jruby:jruby:1.0.0:rc1:*:*:*:*:*:*
- cpe:2.3:a:jruby:jruby:1.0.0:rc2:*:*:*:*:*:*
- cpe:2.3:a:jruby:jruby:1.0.0:rc3:*:*:*:*:*:*
- cpe:2.3:a:jruby:jruby:1.0.1:*:*:*:*:*:*:*
- cpe:2.3:a:jruby:jruby:1.0.2:*:*:*:*:*:*:*
- cpe:2.3:a:jruby:jruby:1.0.3:*:*:*:*:*:*:*
- cpe:2.3:a:jruby:jruby:1.1:*:*:*:*:*:*:*
- cpe:2.3:a:jruby:jruby:1.1:beta1:*:*:*:*:*:*
- cpe:2.3:a:jruby:jruby:1.1:rc1:*:*:*:*:*:*
- cpe:2.3:a:jruby:jruby:1.1:rc2:*:*:*:*:*:*
- cpe:2.3:a:jruby:jruby:1.1:rc3:*:*:*:*:*:*
- cpe:2.3:a:jruby:jruby:1.1.1:*:*:*:*:*:*:*
- cpe:2.3:a:jruby:jruby:1.1.2:*:*:*:*:*:*:*
- cpe:2.3:a:jruby:jruby:1.1.3:*:*:*:*:*:*:*
- cpe:2.3:a:jruby:jruby:1.1.4:*:*:*:*:*:*:*
- cpe:2.3:a:jruby:jruby:1.1.5:*:*:*:*:*:*:*
- cpe:2.3:a:jruby:jruby:1.1.6:*:*:*:*:*:*:*
- cpe:2.3:a:jruby:jruby:1.1.6:rc1:*:*:*:*:*:*
- cpe:2.3:a:jruby:jruby:1.2.0:*:*:*:*:*:*:*
- cpe:2.3:a:jruby:jruby:1.2.0:rc1:*:*:*:*:*:*
- cpe:2.3:a:jruby:jruby:1.2.0:rc2:*:*:*:*:*:*
- cpe:2.3:a:jruby:jruby:1.3.0:*:*:*:*:*:*:*
- cpe:2.3:a:jruby:jruby:1.3.0:rc1:*:*:*:*:*:*
- cpe:2.3:a:jruby:jruby:1.3.0:rc2:*:*:*:*:*:*
- cpe:2.3:a:jruby:jruby:1.3.1:*:*:*:*:*:*:*
- cpe:2.3:a:jruby:jruby:1.4.0:rc1:*:*:*:*:*:*
- cpe:2.3:a:jruby:jruby:1.4.0:rc2:*:*:*:*:*:*
- cpe:2.3:a:jruby:jruby:1.4.0:rc3:*:*:*:*:*:*
More vulnerabilities in Jruby
- CVE-2012-5370 — Medium (CVSS 5.0): JRuby computes hash values without properly restricting the ability to trigger hash collisions predictably, which…
- CVE-2011-4838 — Medium (CVSS 5.0): JRuby before 1.6.5.1 computes hash values without restricting the ability to trigger hash collisions predictably, which…
- CVE-2025-46551 — Low (CVSS 3.7): JRuby-OpenSSL is an add-on gem for JRuby that emulates the Ruby OpenSSL native library. Starting in JRuby-OpenSSL…
Other CWE-79 (Cross-site Scripting (XSS)) vulnerabilities
- CVE-2025-49410 — Critical (CVSS 10.0): Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Imran Emu TC…
- CVE-2024-47875 — Critical (CVSS 10.0): DOMPurify is a DOM-only, super-fast, uber-tolerant XSS sanitizer for HTML, MathML and SVG. DOMpurify was vulnerable to…
- CVE-2024-6886 — Critical (CVSS 10.0): Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting') vulnerability in Gitea…
- CVE-2023-45144 — Critical (CVSS 10.0): com.xwiki.identity-oauth:identity-oauth-ui is a package to aid in building identity and service providers based on…
- CVE-2023-45138 — Critical (CVSS 10.0): Change Request is an pplication allowing users to request changes on a wiki without publishing the changes directly.…
- CVE-2022-4361 — Critical (CVSS 10.0): Keycloak, an open-source identity and access management solution, has a cross-site scripting (XSS) vulnerability in the…
Browse all CWE-79 (Cross-site Scripting (XSS)) vulnerabilities →