---
id: CVE-2020-35305
title: >-
  Cross site scripting (XSS) in gollum 5.0 to 5.1.2 via the filename parameter
  to the 'New Page' dialog.
summary: >-
  Cross site scripting (XSS) in gollum 5.0 to 5.1.2 via the filename parameter
  to the 'New Page' dialog.
severity: medium
cvss: 6.1
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N'
cwe:
  - CWE-79
vendor: gollum_project
product: gollum
affected:
  - 'gollum >= 5.0.0, <= 5.1.2'
published: '2022-07-15'
updated: '2026-07-05'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2020-35305'
references:
  - url: 'https://github.com/Szarny/'
    label: cve@mitre.org
  - url: 'https://github.com/gollum/'
    label: cve@mitre.org
  - url: 'https://github.com/gollum/gollum/releases/tag/v5.1.2'
    label: cve@mitre.org
  - url: 'http://gollum.com'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://github.com/Szarny/'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://github.com/gollum/'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://github.com/gollum/gollum/releases/tag/v5.1.2'
    label: af854a3a-2127-422b-91ae-364da2661108
tags:
  - nvd
epss: 0.00768
epssPercentile: 0.53732
ingestedAt: '2026-07-06T17:03:24.851Z'
---

## Overview

Cross site scripting (XSS) in gollum 5.0 to 5.1.2 via the filename parameter to the 'New Page' dialog.

## Affected

- `gollum >= 5.0.0, <= 5.1.2`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
