Skip to content
OpenAdvisories
Medium · 6.1 CVE-2018-1000088 EUVD-2018-0181GHSA-hwhh-2fwm-cfgw

Doorkeeper is vulnerable to stored XSS and code execution

Published Mar 13, 2018 · Updated Aug 5, 2024 · Assigned by mitre

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.

ReleasePackageFixed inAdvisory
Debian 14 ruby-doorkeeper 4.3.1-1 —
Debian 13 ruby-doorkeeper 4.3.1-1 —
Debian 12 ruby-doorkeeper 4.3.1-1 —
ReleasePackageFixed inAdvisory
Ubuntu Pro 16.04 LTS ruby-doorkeeper 2.2.1-1ubuntu0.1~esm2 USN-7394-1

Affected packages

EcosystemPackageAffectedFixedRecord
RubyGems doorkeeper >= 2.1.0, < 4.2.6 4.2.6 GHSA-hwhh-2fwm-cfgw

Advisories 1

References