Live threats

All CVEs / Sinatrarb

CVE-2018-11627Sinatrarb Sinatra

Medium 6.1 No auth needed

Priority
52
CVSS 3.0
6.1
EPSS
2.1%
probability of exploitation in 30 days · percentile 83
Auth required
No
Published
May 31, 2018
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-79
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

What happens

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

Original NVD text.

What to do

  1. Apply the vendor's security update for Sinatra.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
RubyGems sinatra ≥ 2.0.0 < 2.0.2 2.0.2 gem "sinatra", ">= 2.0.2"

Per OSV / GitHub Advisories (GHSA-mq35-wqvf-r23c). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
sinatrarbsinatra< 2.0.2
redhatcloudforms4.6
redhatcloudforms4.7

Official sources

References

Links published by the sources. Open them with care.