GHSA-mq35-wqvf-r23c

Suggest an improvement
Source
https://github.com/advisories/GHSA-mq35-wqvf-r23c
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2018/06/GHSA-mq35-wqvf-r23c/GHSA-mq35-wqvf-r23c.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-mq35-wqvf-r23c
Aliases
Published
2018-06-05T21:32:06Z
Modified
2024-02-16T08:16:36.186181Z
Severity
  • 6.1 (Medium) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
Summary
Sinatra Cross-site Scripting vulnerability
Details

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

Database specific
{
    "nvd_published_at": "2018-05-31T19:29:00Z",
    "cwe_ids": [
        "CWE-79"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2020-06-16T21:46:50Z"
}
References

Affected packages

RubyGems / sinatra

Package

Name
sinatra
Purl
pkg:gem/sinatra

Affected ranges

Type
ECOSYSTEM
Events
Introduced
2.0.0
Fixed
2.0.2

Affected versions

2.*

2.0.0
2.0.1.rc1
2.0.1