Description
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.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | ruby-doorkeeper | 4.3.1-1 | — |
| Debian 13 | ruby-doorkeeper | 4.3.1-1 | — |
| Debian 12 | ruby-doorkeeper | 4.3.1-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 16.04 LTS | ruby-doorkeeper | 2.2.1-1ubuntu0.1~esm2 | USN-7394-1 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| RubyGems | doorkeeper | >= 2.1.0, < 4.2.6 | 4.2.6 | GHSA-hwhh-2fwm-cfgw |
Advisories 1
- USN-7394-1 ruby-doorkeeper vulnerabilities Ubuntu Security Notices (USN) · Jun 25, 2026