Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-25500

published medium CVSS 3.1 · 5.4

Rack's Stored XSS in Rack::Directory via javascript: filenames rendered into anchor href

Published
18 Feb 2026, 18:59:31 UTC
Updated
18 Feb 2026, 19:42:35 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
rack — rack< 2.2.22 · >= 3.0.0.beta1, < 3.1.20 · >= 3.2.0, < 3.2.5 Affected Not stated GitHub_M
Amazon Linux AL2 Release evaluation No Fix Planned Not stated Amazon Linux assessment
Debian bookworm ruby-rack Advisory build 2.2.22-0+deb12u1 DSA-6180-1
SUSE / openSUSE openSUSE-Tumbleweed ruby4.0-rubygem-rack-2.2aarch64 Advisory build 2.2.22-1.1 OPENSUSE-SU-2026:10286-1
Ubuntu focal ruby-rack Advisory build 2.0.7-2ubuntu0.1+esm9 USN-8066-1
Debian bullseye ruby-rack Advisory build 2.1.4-3+deb11u5 DLA-4505-1
Debian trixie ruby-rack Advisory build 3.1.20-0+deb13u1 DSA-6180-1
SUSE / openSUSE openSUSE-Tumbleweed ruby4.0-rubygem-rack-2.2ppc64le Advisory build 2.2.22-1.1 OPENSUSE-SU-2026:10286-1
Show 5 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
SUSE / openSUSE openSUSE-Tumbleweed ruby4.0-rubygem-rack-2.2s390x Advisory build 2.2.22-1.1 OPENSUSE-SU-2026:10286-1
SUSE / openSUSE openSUSE-Tumbleweed ruby4.0-rubygem-rack-2.2x86_64 Advisory build 2.2.22-1.1 OPENSUSE-SU-2026:10286-1
Ubuntu jammy ruby-rack Advisory build 2.1.4-5ubuntu1.2+esm2 USN-8066-1
Ubuntu noble ruby-rack Advisory build 2.2.7-1ubuntu0.6 USN-8066-1
Ubuntu questing ruby-rack Advisory build 3.1.16-0.1ubuntu0.2 USN-8066-1

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.

en · GitHub_M · cna

Vendor advisories explicitly linked to this CVE.

8

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
5.4 / 10
Severity
medium
Provider
GitHub_M · cna
Vector string
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
rack rack < 2.2.22 (affected)>= 3.0.0.beta1, < 3.1.20 (affected)>= 3.2.0, < 3.2.5 (affected) GitHub_M · cna

Weaknesses

1
  • CWE-79 CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') (GitHub_M · cna)

References

2

Provider assertions

2

GitHub_M · cna

Rack's Stored XSS in Rack::Directory via javascript: filenames rendered into anchor href

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
66c89713315df9258d8411718f266c61a0b3897c295a2faeeb193d65c62cf4c2
Ingested
23 Sep 2026, 09:06:52 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected