NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
💎
💎 RubyGems
Not in CISA KEV
MEDIUM severity

CVE-2020-35305 — gollum

MEDIUMFix: gollum/gollum@137728c

CVE-2020-35305 is a medium-severity (CVSS 6.1) Cross-site Scripting (XSS) vulnerability in gollum. A fix is available for gollum — see the affected versions and patch details below.

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

Also known asGHSA-fj2w-qmjp-3rjm
Published
Updated
Affected
1 pkg
Patched
1 / 1
Exploits
None indexed
Exploitation data as of Oct 28, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

EPSS Exploitation Probability

via FIRST.org ↗
0.8%probability of exploitation in next 30 days
Lower Risk+0.02%
Lower risk than most CVEs56th percentile — riskier than 56% of all scored CVEsHighest risk
0.00%0.43%0.86%1.29%0.3%0.8%Apr 26Aug 26Oct 26

Probability of exploitation in the next 30 days, from FIRST.org EPSS.

How urgent is this, really

Where this sits among everything scored

Real-World Exposure

1 pkg affected
💎gollum

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects RubyGems packages — download data is not available via public APIs for these ecosystems.

Description

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

Affected Packages

1 total 1 fixed
EcosystemPackageVulnerable rangeFix
💎RubyGemsgollum≥ 5.0&&< 5.1.25.1.2bundle update gollum --conservative

Affected Products

1 product · 1 configurations
Application
gollumgollum_project
≥ 5.0.0 && ≤ 5.1.2
range

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for gollum, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update gollum to 5.1.2 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2020-35305 is resolved across your whole dependency graph.

  3. Workarounds

    Escape or sanitise the affected output on the server side rather than relying on client-side filtering, and add a Content-Security-Policy that blocks inline script execution so injected markup cannot run even if it reaches the page.

Frequently Asked Questions

Cross site scripting (XSS) in gollum 5.0 to 5.1.2 via the filename parameter to the 'New Page' dialog.
O3 Security · Impact-Aware SCA

Is CVE-2020-35305 in your dependencies?

Find it across RubyGems, including transitive dependencies.

CVE-2020-35305: gollum XSS — Fixed in 5.1.2