CVE-2018-16471

rubygem-rack: Cross-site scripting (XSS) via `scheme` method on `Rack::Request`

Published Nov 13, 2018 CVSS 3.0 · 6.1 Medium EPSS 1.9% KEV · Not listed
Description
There is a possible XSS vulnerability in Rack before 2.0.6 and 1.6.11. Carefully crafted requests can impact the data returned by the `scheme` method on `Rack::Request`. Applications that expect the scheme to be limited to 'http' or 'https' and do not escape the return value could be vulnerable to an XSS attack. Note that applications using the normal escaping mechanisms provided by Rails may not impacted, but applications that bypass the escaping mechanisms, or do not use them may be vulnerable.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-1585-1 ruby-rack security update
EUVD EUVD EUVD-2018-0731 There is a possible XSS vulnerability in Rack before 2.0.6 and 1.6.11. Carefully crafted requests can impact the data returned by the `scheme` method on `Rack::Request`. Applications that expect the scheme to be limited to 'http' or 'https' and do not escape the return value could be vulnerable to an XSS attack. Note that applications using the normal escaping mechanisms provided by Rails may not impacted, but applications that bypass the escaping mechanisms, or do not use them may be vulnerable.
Github GHSA Github GHSA GHSA-5r2p-j47h-mhpg Rack vulnerable to Cross-site Scripting
Ubuntu USN Ubuntu USN USN-4089-1 Rack vulnerability
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
hackerone
Published
Updated
Aug 5, 2024, 10:24 AM
Reserved
Sep 4, 2018, 12:00 AM
Status
Modified
Published
Nov 13, 2018, 11:29 PM
Modified
Jun 17, 2026, 1:44 AM
Severity
Moderate
Public date
Nov 6, 2018, 12:00 AM