MEDIUM6.1
GHSA-hwhh-2fwm-cfgw
Doorkeeper is vulnerable to stored XSS and code execution
Quick fix
GHSA-hwhh-2fwm-cfgw — doorkeeper: upgrade to the fixed version with the command below.
bundle update doorkeeperDetails
Doorkeeper version 2.1.0 through 4.2.5 contains a Cross Site Scripting (XSS) vulnerability in web view's OAuth app form, user authorization prompt web view that can result in Stored XSS on the OAuth Client's name will cause users interacting with it will execute payload. This attack appear to be exploitable via The victim must be tricked to click an opaque link to the web view that runs the XSS payload. A malicious version virtually indistinguishable from a normal link. This vulnerability appears to have been fixed in 4.2.6, 4.3.0.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://nvd.nist.gov/vuln/detail/CVE-2018-1000088[ADVISORY]
- https://github.com/doorkeeper-gem/doorkeeper/issues/969[WEB]
- https://github.com/doorkeeper-gem/doorkeeper/pull/970[WEB]
- https://github.com/rubysec/ruby-advisory-db/pull/328/files[WEB]
- https://github.com/doorkeeper-gem/doorkeeper/commit/7b1a8373ecd69768c896000c7971dbf48948c1b5[WEB]
- https://blog.justinbull.ca/cve-2018-1000088-stored-xss-in-doorkeeper[WEB]
- https://github.com/doorkeeper-gem/doorkeeper[PACKAGE]
- https://github.com/doorkeeper-gem/doorkeeper/releases/tag/v4.3.0[WEB]
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/doorkeeper/CVE-2018-1000088.yml[WEB]