Medium severity5.4NVD Advisory· Published Sep 25, 2017· Updated May 13, 2026
CVE-2017-14506
CVE-2017-14506
Description
geminabox (aka Gem in a Box) before 0.13.6 has XSS, as demonstrated by uploading a gem file that has a crafted gem.homepage value in its .gemspec file.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
geminaboxRubyGems | < 0.13.6 | 0.13.6 |
Affected products
1Patches
199aaae196c4fFix XSS & CSRF vulnerabilities - CVE-2017-14506
3 files changed · +6 −2
lib/geminabox/server.rb+4 −0 modified@@ -297,6 +297,10 @@ def combined_gem_list end helpers do + def h(text) + Rack::Utils.escape_html(text) + end + def spec_for(gem_name, version, platform = default_platform) filename = [gem_name, version] filename.push(platform) if platform != default_platform
views/gem.erb+1 −1 modified@@ -27,7 +27,7 @@ <%= spec.description %> <br/> <span class="author">– <%= spec.authors.map do |author| - "<a href='#{spec.homepage}'>#{author}</a>" + "<a href='#{h(spec.homepage)}'>#{author}</a>" end.join(', ') %></span> <% end %> </p>
views/index.erb+1 −1 modified@@ -46,7 +46,7 @@ <%= spec.description %> <br/> <span class="author">– <%= spec.authors.map do |author| - "<a href='#{spec.homepage}'>#{author}</a>" + "<a href='#{h(spec.homepage)}'>#{author}</a>" end.join(', ') %></span> <% end %> </p>
Vulnerability mechanics
Generated by null/stub on May 9, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.
References
5- github.com/geminabox/geminabox/blob/master/CHANGELOG.mdnvdPatchRelease NotesThird Party AdvisoryWEB
- baraktawily.blogspot.co.il/2017/09/gem-in-box-xss-vulenrability-cve-2017.htmlnvdExploitThird Party AdvisoryWEB
- github.com/advisories/GHSA-98hq-3qvg-pg78ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2017-14506ghsaADVISORY
- github.com/geminabox/geminabox/commit/99aaae196c4fc6ae0df28e186ca1e493ae658e02ghsaWEB
News mentions
0No linked articles in our index yet.