[DRE-maint] Bug#1128480: ruby-rack: CVE-2026-25500
Salvatore Bonaccorso
carnil at debian.org
Fri Feb 20 08:06:46 GMT 2026
Source: ruby-rack
Version: 3.2.4-1
Severity: important
Tags: security upstream
X-Debbugs-Cc: carnil at debian.org, Debian Security Team <team at security.debian.org>
Control: found -1 3.1.18-1
Control: found -1 3.1.18-1~deb13u1
Control: found -1 2.2.20-0+deb12u1
Hi,
The following vulnerability was published for ruby-rack.
CVE-2026-25500[0]:
| 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.
If you fix the vulnerability please also make sure to include the
CVE (Common Vulnerabilities & Exposures) id in your changelog entry.
For further information see:
[0] https://security-tracker.debian.org/tracker/CVE-2026-25500
https://www.cve.org/CVERecord?id=CVE-2026-25500
[1] https://github.com/rack/rack/security/advisories/GHSA-whrj-4476-wvmp
Please adjust the affected versions in the BTS as needed.
Regards,
Salvatore
More information about the Pkg-ruby-extras-maintainers
mailing list