# CVE-2020-35305: Gollum Cross-site Scripting vulnerability via filename parameter to New Page dialog

Source: https://junglewise.ai/threats/cve-2020-35305-gollum-cross-site-scripting-vulnerability-via-filename-parameter  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2022-07-16  
License: CC BY 4.0 with a link back

CVE-2020-35305 · Severity: low · CVSS 3.1 · Published 2022-07-16

Gollum Cross-site Scripting vulnerability via filename parameter to New Page dialog

Technologies: [gollum (RubyGems)](https://junglewise.ai/threats/technologies/gollum). Vendors: [RubyGems](https://junglewise.ai/threats/vendors/rubygems).

## Quick answers

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

**How severe is CVE-2020-35305?** Low severity, with a CVSS score of 3.1, published 16 July 2022.

**Which products and versions are affected?** gollum (RubyGems) ECOSYSTEM:introduced=5.0,fixed=5.1.2.

**Is there a fix for CVE-2020-35305?** Yes. gollum (RubyGems): upgrade to 5.1.2 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2020-35305?** Check whether you run gollum (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

- gollum (RubyGems): upgrade to 5.1.2 or later

  ```sh
  bundle update gollum
  ```


## Affected products

- gollum (RubyGems) ECOSYSTEM:introduced=5.0,fixed=5.1.2

## Identifiers

- CVE-2020-35305
- GHSA-fj2w-qmjp-3rjm

## Related threats

- [Gollum Exposure of Sensitive Information](https://junglewise.ai/threats/cve-2015-7314-gollum-exposure-of-sensitive-information)
- [gollum and gollum-lib allow remote authenticated users to execute arbitrary code](https://junglewise.ai/threats/cve-2014-9489-gollum-and-gollum-lib-allow-remote-authenticated-users-to-execute)
