# CVE-2018-1000078: RubyGems Cross-site Scripting vulnerability

Source: https://junglewise.ai/threats/cve-2018-1000078-rubygems-cross-site-scripting-vulnerability  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2022-05-14  
License: CC BY 4.0 with a link back

CVE-2018-1000078 · Severity: low · CVSS 3 · Published 2022-05-14

RubyGems Cross-site Scripting vulnerability

Technologies: [org.jruby:jruby-stdlib (Maven)](https://junglewise.ai/threats/technologies/org-jruby-jruby-stdlib), [rubygems-update (RubyGems)](https://junglewise.ai/threats/technologies/rubygems-update). Vendors: [Maven](https://junglewise.ai/threats/vendors/maven), [RubyGems](https://junglewise.ai/threats/vendors/rubygems).

## Quick answers

**Is CVE-2018-1000078 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2018-1000078 being exploited in the wild.

**How severe is CVE-2018-1000078?** Low severity, with a CVSS score of 3, published 14 May 2022.

**Which products and versions are affected?** org.jruby:jruby-stdlib (Maven) ECOSYSTEM:introduced=0,fixed=9.1.16.0; rubygems-update (RubyGems) ECOSYSTEM:introduced=0,fixed=2.7.6.

**Is there a fix for CVE-2018-1000078?** Yes. org.jruby:jruby-stdlib (Maven): upgrade to 9.1.16.0 or later; rubygems-update (RubyGems): upgrade to 2.7.6 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2018-1000078?** Check whether you run org.jruby:jruby-stdlib (Maven) or rubygems-update (RubyGems) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- org.jruby:jruby-stdlib (Maven): upgrade to 9.1.16.0 or later

  ```sh
  # set org.jruby:jruby-stdlib to 9.1.16.0 in your pom.xml or build.gradle
  ```

- rubygems-update (RubyGems): upgrade to 2.7.6 or later

  ```sh
  bundle update rubygems-update
  ```


## Affected products

- org.jruby:jruby-stdlib (Maven) ECOSYSTEM:introduced=0,fixed=9.1.16.0
- rubygems-update (RubyGems) ECOSYSTEM:introduced=0,fixed=2.7.6

## Identifiers

- CVE-2018-1000078
- GHSA-87qx-g5wg-mwmj

## Related threats

- [RubyGems HTTPS to HTTP redirect](https://junglewise.ai/threats/cve-2012-2125-rubygems-https-to-http-redirect)
- [RubyGems does not verify SSL certificate](https://junglewise.ai/threats/cve-2012-2126-rubygems-does-not-verify-ssl-certificate)
- [RubyGems Improper Input Validation vulnerability](https://junglewise.ai/threats/cve-2015-4020-rubygems-improper-input-validation-vulnerability)
- [RubyGems Regular Expression Denial of Service](https://junglewise.ai/threats/cve-2013-4363-rubygems-regular-expression-denial-of-service)
- [RubyGems Path Traversal vulnerability](https://junglewise.ai/threats/cve-2018-1000079-rubygems-path-traversal-vulnerability)
