Описание
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.
| Релиз | Статус | Примечание |
|---|---|---|
| devel | released | 3.2.4-1ubuntu1 |
| esm-apps/bionic | ignored | changes too intrusive |
| esm-apps/focal | released | 2.0.7-2ubuntu0.1+esm9 |
| esm-apps/jammy | released | 2.1.4-5ubuntu1.2+esm2 |
| esm-apps/xenial | ignored | changes too intrusive |
| esm-infra-legacy/trusty | ignored | changes too intrusive |
| jammy | needed | |
| noble | released | 2.2.7-1ubuntu0.6 |
| questing | released | 3.1.16-0.1ubuntu0.2 |
| upstream | released | 3.2.5,3.1.20,2.2.22 |
Показывать по
EPSS
5.4 Medium
CVSS3
Связанные уязвимости
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.
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.
Rack is a modular Ruby web server interface. Prior to versions 2.2.22, ...
Stored XSS in Rack::Directory via javascript: filenames rendered into anchor href
EPSS
5.4 Medium
CVSS3