All reports
Medium

UBUNTU-CVE-2026-25500

Affected versions

Affected versions
<2.2.7-1ubuntu0.6 || =2.2.4-3 || =2.2.7-1 || =2.2.7-1ubuntu0.1 || =2.2.7-1ubuntu0.2 || =2.2.7-1ubuntu0.3 || =2.2.7-1ubuntu0.4 || =2.2.7-1ubuntu0.5
Fixed version
2.2.7-1ubuntu0.6
Affected versions
<3.1.16-0.1ubuntu0.2 || =2.2.7-1.1 || =3.1.16-0.1 || =3.1.16-0.1ubuntu0.1
Fixed version
3.1.16-0.1ubuntu0.2
Affected versions
<3.2.4-1ubuntu1 || =3.1.16-0.1 || =3.1.18-1 || =3.1.18-1build1
Fixed version
3.2.4-1ubuntu1
Affected versions
<3.2.4-1ubuntu1
Fixed version
3.2.4-1ubuntu1
Affected versions
Unknown
Fixed version
Not reported
Affected versions
* || =1.5.2-4 || =1.6.4-2 || =1.6.4-3 || =1.6.4-3ubuntu0.1 || =1.6.4-3ubuntu0.2 || =1.6.4-3ubuntu0.2+esm1 || =1.6.4-3ubuntu0.2+esm2 || =1.6.4-3ubuntu0.2+esm4 || =1.6.4-3ubuntu0.2+esm5 || =1.6.4-3ubuntu0.2+esm6 || =1.6.4-3ubuntu0.2+esm7 || =1.6.4-3ubuntu0.2+esm8 || =1.6.4-3ubuntu0.2+esm9 || =1.6.4-3ubuntu0.2+esm10
Fixed version
Not reported
Affected versions
* || =1.6.4-4 || =1.6.4-4ubuntu0.1 || =1.6.4-4ubuntu0.2 || =1.6.4-4ubuntu0.2+esm1 || =1.6.4-4ubuntu0.2+esm2 || =1.6.4-4ubuntu0.2+esm4 || =1.6.4-4ubuntu0.2+esm5 || =1.6.4-4ubuntu0.2+esm6 || =1.6.4-4ubuntu0.2+esm7 || =1.6.4-4ubuntu0.2+esm8 || =1.6.4-4ubuntu0.2+esm9 || =1.6.4-4ubuntu0.2+esm10
Fixed version
Not reported
Affected versions
<2.0.7-2ubuntu0.1+esm9 || =2.0.6-3 || =2.0.7-2 || =2.0.7-2ubuntu0.1 || =2.0.7-2ubuntu0.1+esm1 || =2.0.7-2ubuntu0.1+esm2 || =2.0.7-2ubuntu0.1+esm3 || =2.0.7-2ubuntu0.1+esm4 || =2.0.7-2ubuntu0.1+esm5 || =2.0.7-2ubuntu0.1+esm6 || =2.0.7-2ubuntu0.1+esm7 || =2.0.7-2ubuntu0.1+esm8
Fixed version
2.0.7-2ubuntu0.1+esm9
Affected versions
<2.1.4-5ubuntu1.2+esm2 || =2.1.4-3 || =2.1.4-4 || =2.1.4-5 || =2.1.4-5ubuntu1 || =2.1.4-5ubuntu1+esm2 || =2.1.4-5ubuntu1+esm3 || =2.1.4-5ubuntu1+esm4 || =2.1.4-5ubuntu1+esm5 || =2.1.4-5ubuntu1.1 || =2.1.4-5ubuntu1.1+esm1 || =2.1.4-5ubuntu1.1+esm2 || =2.1.4-5ubuntu1.2 || =2.1.4-5ubuntu1.2+esm1
Fixed version
2.1.4-5ubuntu1.2+esm2

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.

Links