{"cve":"CVE-2018-11627","nvd":{"published":"2018-05-31T19:29:00.203","modified":"2026-06-17T01:36:16.430","status":"Modified","description":"Sinatra before 2.0.2 has XSS via the 400 Bad Request page that occurs upon a params parser exception.","cvss_v4":null,"cvss_v3":{"version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1},"cwes":["CWE-79"],"references":["https://access.redhat.com/errata/RHSA-2019:0212","https://access.redhat.com/errata/RHSA-2019:0315","https://github.com/sinatra/sinatra/commit/12786867d6faaceaec62c7c2cb5b0e2dc074d71a","https://github.com/sinatra/sinatra/issues/1428","https://access.redhat.com/errata/RHSA-2019:0212"],"products":["redhat:cloudforms","sinatrarb:sinatra"],"source":"nvd","synced_at":"2026-10-19T20:50:40.212176939+00:00"},"epss":{"cve":"CVE-2018-11627","score":0.02159,"percentile":0.82204,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-mq35-wqvf-r23c","url":"https://osv.dev/vulnerability/GHSA-mq35-wqvf-r23c","summary":"Sinatra Cross-site Scripting vulnerability","modified":"2024-02-16T08:16:36.186181Z","packages":[{"ecosystem":"RubyGems","name":"sinatra","purl":"pkg:gem/sinatra","ranges":[">=2.0.0 <2.0.2"],"fixed":["2.0.2"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}