SUSE VEX
SUSEVEX-CVE-2026-25500
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| SUSE:Linux Enterprise High Availability Extension 15 SP4 | ruby2.5-rubygem-rack | All versions, no fix yet |
| SUSE:Linux Enterprise High Availability Extension 15 SP4 | rubygem-rack | All versions, no fix yet |
| SUSE:Linux Enterprise High Availability Extension 15 SP5 | ruby2.5-rubygem-rack | All versions, no fix yet |
| SUSE:Linux Enterprise High Availability Extension 15 SP5 | rubygem-rack | All versions, no fix yet |
| SUSE:Linux Enterprise High Availability Extension 15 SP7 | ruby2.5-rubygem-rack | All versions, no fix yet |
| SUSE:Linux Enterprise High Availability Extension 15 SP7 | rubygem-rack | All versions, no fix yet |
| SUSE:Linux Enterprise High Availability Extension 16.0 | hawk2 | All versions, no fix yet |
| SUSE:Linux Enterprise Server for SAP applications 16.0 | hawk2 | All versions, no fix yet |
| openSUSE:Leap 15.6 | ruby2.5-rubygem | All versions, no fix yet |
| openSUSE:Leap 15.6 | ruby2.5-rubygem-rack | All versions, no fix yet |
| openSUSE:Leap 15.6 | ruby2.5-rubygem-rack-doc | All versions, no fix yet |
| openSUSE:Leap 15.6 | ruby2.5-rubygem-rack-testsuite | All versions, no fix yet |
| openSUSE:Leap 15.6 | rubygem | All versions, no fix yet |
| openSUSE:Leap 15.6 | rubygem-rack | All versions, no fix yet |
| openSUSE:Leap 16.0 | hawk2 | All versions, no fix yet |
| openSUSE:Leap 16.1 | hawk2 | All versions, no fix yet |