CVE-2018-16471
Ruby packages · CVE-2018-16471
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.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 1.890% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.
CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T15:55:09.885Z. Public exploit availability is not used to set this status.
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T15:55:09.885Z | CISA KEV |
| cvss | unknown | unknown | unknown |
| epss | verified | 2026-11-19T16:04:24.854Z | FIRST EPSS |
| patches | verified | 2026-11-19T12:52:43.599Z | OSV |
| affected | verified | 2026-11-19T12:55:04.470Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:55:04.470Z | CVE Program |
Affected versions and configuration
Rack Rack; default status: unknown: 2.0.6, 1.6.11 [affected; scheme: unspecified]
Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.
CVE Program · cve-json · full conditions
{
"affected": [
{
"vendor": "Rack",
"product": "Rack",
"versions": [
{
"status": "affected",
"version": "2.0.6, 1.6.11"
}
]
}
],
"additionalContainers": [
{
"title": "CVE Program Container",
"references": [
{
"url": "https://groups.google.com/forum/#%21topic/rubyonrails-security/GKsAFT924Ag",
"tags": [
"x_refsource_MISC",
"x_transferred"
]
},
{
"url": "https://lists.debian.org/debian-lts-announce/2018/11/msg00022.html",
"name": "[debian-lts-announce] 20181121 [SECURITY] [DLA 1585-1] ruby-rack security update",
"tags": [
"mailing-list",
"x_refsource_MLIST",
"x_transferred"
]
},
{
"url": "http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00032.html",
"name": "openSUSE-SU-2019:1553",
"tags": [
"vendor-advisory",
"x_refsource_SUSE",
"x_transferred"
]
},
{
"url": "https://usn.ubuntu.com/4089-1/",
"name": "USN-4089-1",
"tags": [
"vendor-advisory",
"x_refsource_UBUNTU",
"x_transferred"
]
},
{
"url": "http://lists.opensuse.org/opensuse-security-announce/2020-02/msg00016.html",
"name": "openSUSE-SU-2020:0214",
"tags": [
"vendor-advisory",
"x_refsource_SUSE",
"x_transferred"
]
}
],
"providerMetadata": {
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE",
"dateUpdated": "2024-08-05T10:24:32.587Z"
}
}
]
}Archived source JSONOSV · osv · full conditions
{
"id": "GHSA-5r2p-j47h-mhpg",
"aliases": [
"CVE-2018-16471"
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "2.0.0"
},
{
"fixed": "2.0.6"
}
]
}
],
"package": {
"name": "rack",
"purl": "pkg:gem/rack",
"ecosystem": "RubyGems"
},
"versions": [
"2.0.1",
"2.0.2",
"2.0.3",
"2.0.4",
"2.0.5"
],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2018/11/GHSA-5r2p-j47h-mhpg/GHSA-5r2p-j47h-mhpg.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.6.11"
}
]
}
],
"package": {
"name": "rack",
"purl": "pkg:gem/rack",
"ecosystem": "RubyGems"
},
"versions": [
"0.1.0",
"0.2.0",
"0.3.0",
"0.4.0",
"0.9.0",
"0.9.1",
"1.0.0",
"1.0.1",
"1.1.0",
"1.1.1",
"1.1.1.pre",
"1.1.2",
"1.1.3",
"1.1.4",
"1.1.5",
"1.1.6",
"1.2.0",
"1.2.1",
"1.2.2",
"1.2.3",
"1.2.4",
"1.2.5",
"1.2.6",
"1.2.7",
"1.2.8",
"1.3.0",
"1.3.0.beta",
"1.3.0.beta2",
"1.3.1",
"1.3.10",
"1.3.2",
"1.3.3",
"1.3.4",
"1.3.5",
"1.3.6",
"1.3.7",
"1.3.8",
"1.3.9",
"1.4.0",
"1.4.1",
"1.4.2",
"1.4.3",
"1.4.4",
"1.4.5",
"1.4.6",
"1.4.7",
"1.5.0",
"1.5.0.beta.1",
"1.5.0.beta.2",
"1.5.1",
"1.5.2",
"1.5.3",
"1.5.4",
"1.5.5",
"1.6.0",
"1.6.0.beta",
"1.6.0.beta2",
"1.6.1",
"1.6.10",
"1.6.2",
"1.6.3",
"1.6.4",
"1.6.5",
"1.6.6",
"1.6.7",
"1.6.8",
"1.6.9"
],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2018/11/GHSA-5r2p-j47h-mhpg/GHSA-5r2p-j47h-mhpg.json"
}
}
],
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
}
],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2018-16471",
"type": "ADVISORY"
},
{
"url": "https://github.com/rack/rack",
"type": "PACKAGE"
},
{
"url": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rack/CVE-2018-16471.yml",
"type": "WEB"
},
{
"url": "https://groups.google.com/forum/#!topic/ruby-security-ann/NAalCee8n6o",
"type": "WEB"
},
{
"url": "https://groups.google.com/forum/#!topic/rubyonrails-security/GKsAFT924Ag",
"type": "WEB"
},
{
"url": "https://lists.debian.org/debian-lts-announce/2018/11/msg00022.html",
"type": "WEB"
},
{
"url": "https://usn.ubuntu.com/4089-1",
"type": "WEB"
},
{
"url": "http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00032.html",
"type": "WEB"
},
{
"url": "http://lists.opensuse.org/opensuse-security-announce/2020-02/msg00016.html",
"type": "WEB"
}
],
"relatedGitRanges": [],
"database_specific": {
"cwe_ids": [
"CWE-79"
],
"severity": "MODERATE",
"github_reviewed": true,
"nvd_published_at": "2018-11-13T23:29:00Z",
"github_reviewed_at": "2020-06-16T21:17:10Z"
}
}Archived source JSONCorrection evidence
Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.
| Evidence type | Distribution / release | Package | Channel | Version or source note | Source |
|---|---|---|---|---|---|
| ecosystem-boundary | RubyGems / package | rack | Not a distribution channel | 2.0.6 | Official record |
| ecosystem-boundary | RubyGems / package | rack | Not a distribution channel | 1.6.11 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- OSVConsulted: 2026-11-19T12:52:43.599ZArchived source JSON
Source publication: 2018-11-15T15:59:08.000Z
Source modification: 2024-02-18T05:22:09.088ZDocument fingerprint
65ea4b0a73ce0ee46c9bed7dea7db065395c496a8fe9af6fec0a4affa0e9df8b - CISA KEVConsulted: 2026-11-19T15:55:09.885ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - CVE ProgramConsulted: 2026-11-19T12:55:04.470ZArchived source JSON
Source publication: 2018-11-13T23:00:00.000Z
Source modification: 2024-08-05T10:24:32.587ZDocument fingerprint
35a0c0ce0efcf9e852cada4e1662b35ad3f0325a5e54760d3e4c2f8778ae8461 - FIRST EPSSConsulted: 2026-11-19T16:04:24.854ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
30b2dc1e07a5718fe6f23c18117c6d84d73e34493e1f9d7122d8ff2c91744987
Official status history
- UNKNOWN → PUBLISHED · · evidence