VDB
Sign up
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 doorkeeper

Details

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

RubyGems/doorkeeper
Introduced in: 2.1.0Fixed in: 4.2.6
Fixbundle update doorkeeper

References