Security mailing lists by PureSourceCode

CVE-2018-16471

MEDIUM 6.1CVSS 3.0

Rack vulnerable to Cross-site Scripting

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.

Published
13 Nov 2018
Last modified
17 Jun 2026
Assigned by
support@hackerone.com
NVD status
Modified
Weakness
CWE-79
Also known as
GHSA-5r2p-j47h-mhpg
Sources
NVDJSONOSV GHSA-5r2p-j47h-mhpgJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.0 MEDIUM 6.1 CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
OSV GitHub CVSS 3.0 MEDIUM 6.1 CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 4.3 AV:N/AC:M/Au:N/C:N/I:P/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD rack_project rack
cpe:2.3:a:rack_project:rack:*:*:*:*:*:*:*:*
>= 1.6.0, < 1.6.11 1.6.11
NVD rack_project rack
cpe:2.3:a:rack_project:rack:*:*:*:*:*:*:*:*
>= 2.0.0, < 2.0.6 2.0.6
NVD debian debian_linux
cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
= 8.0
OSV RubyGems rack >= 2.0.0, < 2.0.6 2.0.6
OSV RubyGems rack < 1.6.11 1.6.11

References

History

  • 25 Nov 2026 20:21 UTC · NVD: first stored (published 13 Nov 2018)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 15 Nov 2018)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.