CVE-2018-16471: XSS

Published Nov 13, 2018
·
Updated

Last updated 25 August 2025

Other sources

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.

Affected Software

6 affected componentsFixes available
rubygems/rack<1.6.11
1.6.11
rubygems/rack>=2.0.0<2.0.6
2.0.6
Rack Project Rack>=1.6.0<1.6.11
Rack Project Rack>=2.0.0<2.0.6
Debian Debian Linux=8.0
debian/ruby-rack
2.1.4-3+deb11u22.1.4-3+deb11u42.2.20-0+deb12u13.1.18-1~deb13u13.1.18-13.2.4-1

Event History

Nov 13, 2018
CVE Published
via MITRE·11:00 PM
Data Sourced
via MITRE·11:00 PM
DescriptionWeakness
Data Sourced
via NVD·11:29 PM
DescriptionSeverityWeaknessAffected Software
Nov 15, 2018
Advisory Published
03:59 PM
Jan 11, 2024
Data Sourced
via Launchpad·10:53 PM
Description
Feb 20, 2026
Data Sourced
via Ubuntu·05:37 PM
RemedyDescriptionSeverityAffected Software
Data Sourced
via Debian·05:37 PM
DescriptionAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the vulnerability ID?

The vulnerability ID is CVE-2018-16471.

2

What is the severity of CVE-2018-16471?

The severity of CVE-2018-16471 is medium with a severity value of 6.1.

3

How does CVE-2018-16471 affect Rack?

CVE-2018-16471 affects Rack versions before 2.0.6 and 1.6.11.

4

What is the impact of CVE-2018-16471?

CVE-2018-16471 allows carefully crafted requests to impact the data returned by the `scheme` method on `Rack::Request`, potentially leading to XSS vulnerabilities.

5

How do I fix CVE-2018-16471?

To fix CVE-2018-16471, update Rack to version 2.0.6 or 1.6.11 or later.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203