CVE-2018-11627: XSS

Published May 31, 2018
·
Updated

It was found that Sinatra is vulnerable to an XSS via the 400 Bad Request page that occurs upon a params parser exception.

Upstream issue:

https://github.com/sinatra/sinatra/issues/1428

Introduced by:

https://github.com/sinatra/sinatra/commit/8f8df53ff29938ace79b31097c27d9cdac803b44

Upstream patch:

https://github.com/sinatra/sinatra/commit/12786867d6faaceaec62c7c2cb5b0e2dc074d71a

Other sources

Sinatra before 2.0.2 has XSS via the 400 Bad Request page that occurs upon a params parser exception.

Affected Software

5 affected componentsFixes available
rubygems/sinatra>=2.0.0<2.0.2
2.0.2
redhat/rubygem-sinatra<2.0.2
2.0.2
Sinatrarb Sinatra<2.0.2
redhat Cloudforms=4.6
redhat Cloudforms=4.7

Event History

May 31, 2018
CVE Published
via MITRE·07:00 PM
Data Sourced
via MITRE·07:00 PM
Description
Jun 5, 2018
Advisory Published
09:32 PM
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 severity of CVE-2018-11627?

The severity of CVE-2018-11627 is medium.

2

How can an attacker exploit CVE-2018-11627?

An attacker can exploit CVE-2018-11627 by injecting malicious code through a specially crafted request, leading to cross-site scripting (XSS) attacks.

3

What is the affected software of CVE-2018-11627?

The affected software of CVE-2018-11627 includes Sinatra versions before 2.0.2, Redhat Cloudforms versions 4.6 and 4.7.

4

What is the remedy for CVE-2018-11627?

To remediate CVE-2018-11627, upgrade to Sinatra version 2.0.2 or later.

5

Where can I find more information about CVE-2018-11627?

You can find more information about CVE-2018-11627 at the following references: [NVD](https://nvd.nist.gov/vuln/detail/CVE-2018-11627), [GitHub Issue](https://github.com/sinatra/sinatra/issues/1428), [GitHub Commit](https://github.com/sinatra/sinatra/commit/12786867d6faaceaec62c7c2cb5b0e2dc074d71a).

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