Cross-site scriptingin Rack.
No public exploit found; not on exploited lists.
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.
- Upgrade rack (RubyGems) to 1.6.11, 2.0.6 or later, whichever matches your release line.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 4 Sep 2018CVE ID reserved by hackerone.
- 13 Nov 2018Published in the CVE List.
- 5 Aug 2024CVE record last updated.
Attack code anyone can find
Exploit maturity: No public exploit found.
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Nothing on this page links to exploit code right now. To report anything else, write to the contact point in the legal notice.
Other Rack vulnerabilities
Same weakness: Cross-site scripting
- groups.google.com x_refsource_MISC
- lists.debian.org mailing-list, x_refsource_MLIST
- lists.opensuse.org vendor-advisory, x_refsource_SUSE
- usn.ubuntu.com vendor-advisory, x_refsource_UBUNTU
- lists.opensuse.org vendor-advisory, x_refsource_SUSE
Patchminder. CVE-2018-16471: Cross-site scripting in Rack. https://patchminder.com/cve/cve-2018-16471/ (accessed 5 December 2026).