GHSA-whrj-4476-wvmp · Severity: medium · Ecosystem: rubygems — Stored XSS in Rack::Directory via javascript: filenames rendered into anchor href
Rack is a modular Ruby web server interface. Prior to versions 2.2.22, 3.1.20, and 3.2.5, `Rack::Directory` generates an HTML directory index where each file entry is rendered as a clickable link. If a file exists on disk whose basename starts with the `javascript:` scheme (e.g. `javascript:alert(1)`), the generated index contains an anchor whose `href` is exactly `javascript:alert(1)`. Clicking the entry executes JavaScript in the browser (demonstrated with `alert(1)`). Versions 2.2.22, 3.1.20, and 3.2.5 fix the issue.
Conclusion & alert: CVE-2026-25500 is rated Exploit Available (50/100): CVSS Medium severity, with low exploitation likelihood (EPSS 0.22%). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
| EDB-ID | Source | Kind | Published | Link |
|---|---|---|---|---|
| — | nvd_ref | exploit_tag | Exploit-DB ↗ |
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 0.03% | 0.22% | +0.19% |
| 2 | 2026-02-19 | — | 0.03% | — |
Full EPSS history (2 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 5.4 | 3.1 | MEDIUM |
|
2.3 | 2.7 | [email protected] |
GHSA-whrj-4476-wvmp · Severity: medium · Ecosystem: rubygems — Stored XSS in Rack::Directory via javascript: filenames rendered into anchor href
| vendor | priority | summary | link |
|---|---|---|---|
debian
|
not yet assigned | CVE-2026-25500 not yet assigned priority: Debian including 1 source packages (ruby-rack), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. | https://security-tracker.debian.org/tracker/CVE-2026-25500 |
redhat
|
medium | — | https://access.redhat.com/security/cve/CVE-2026-25500 |
suse
|
medium | — | https://www.suse.com/security/cve/CVE-2026-25500/ |
ubuntu
|
medium | CVE-2026-25500 medium priority: Ubuntu including 1 source packages (ruby-rack), 8 status rows across 8 suites (bionic, focal, jammy, noble, questing, trusty, upstream, xenial): released 5, ignored 3. | https://ubuntu.com/security/CVE-2026-25500 |
| URL | Tags |
|---|---|
| https://github.com/rack/rack/commit/f2f225f297b99fbee3d9f51255d41f601fc40aff | Patch |
| https://github.com/rack/rack/security/advisories/GHSA-whrj-4476-wvmp | Exploit Mitigation Vendor Advisory |