Skip to main content
MEDIUM

CVE-2026-25500

CVSS v3

5.4

MEDIUM

EPSS Score

0.3 %

exploit probability, as of 2026-10-19

CISA KEV

No

known exploited

Exploitation

—

SSVC status

Get an alert for each new CVE published for rack.

Set up CVE WatchFree account · no credit card

Affected and fixed versions

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • rackRubyGemsfrom 3.2.0 · fixed in 3.2.5

Vendor advisories

  • CVE-2026-25500 Red Hat Product Security50 known affected

    rubygem-rack: Rack stored XSS in Rack::Directory

    openshift-logging/cluster-logging-operator-bundle as a component of Logging Subsystem for Red Hat OpenShift · openshift-logging/cluster-logging-rhel9-operator as a component of Logging Subsystem for Red Hat OpenShift · openshift-logging/eventrouter-rhel9 as a component of Logging Subsystem for Red Hat OpenShift

Full record on NVD

Description

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.

Technical details

CVSS v3 Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Published
2026-02-18
Last Modified
2026-02-19

Frequently asked questions

What is CVE-2026-25500?

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.

Is CVE-2026-25500 actively exploited?

Active exploitation of CVE-2026-25500 has not been confirmed. Its EPSS score was 0.3% on 2026-10-19, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2026-25500?

CVE-2026-25500 has a CVSS v3 base score of 5.4 (MEDIUM severity), with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N.

Running rack? Hear about its next vulnerability

CVE Watch matches each new CVE to the vendors and products you list (vendor and product, not the version) and puts it in your alerts with its KEV and EPSS status.

Already have an account? Open CVE WatchNo credit card required · No monthly cap on website lookups · 250 API requests/month