CVE-2018-1000088 — Vulnerability in doorkeeper — CVE Details
Doorkeeper is vulnerable to stored XSS and code execution
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (1.43%). Schedule for your next planned update.
Does your project use an affected doorkeeper version?
Paste your Gemfile.lock to check it for CVE-2018-1000088 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
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.
Advisory Timeline
- First published March 13, 2018 (3181 days ago).
- Last revised February 16, 2024 — 2165 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
gem install doorkeeper -v 4.2.6
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (1)
Affects 1 ecosystem: RubyGems (1).
| Package | Fixed In |
|---|---|
| doorkeeper RubyGems · Affected: 2.1.0, 2.1.1, 2.1.2, 2.1.3 (+17 more) | 4.2.6 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-79Cross-site Scripting (XSS)MITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 6.1 score means for each attack dimension.
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
References
- https://nvd.nist.gov/vuln/detail/CVE-2018-1000088ADVISORY
- https://github.com/doorkeeper-gem/doorkeeper/issues/969WEB
- https://github.com/doorkeeper-gem/doorkeeper/pull/970WEB
- https://github.com/rubysec/ruby-advisory-db/pull/328/filesWEB
- https://github.com/doorkeeper-gem/doorkeeper/commit/7b1a8373ecd69768c896000c7971dbf48948c1b5WEB
- https://blog.justinbull.ca/cve-2018-1000088-stored-xss-in-doorkeeperWEB
- https://github.com/doorkeeper-gem/doorkeeperPACKAGE
- https://github.com/doorkeeper-gem/doorkeeper/releases/tag/v4.3.0WEB
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/doorkeeper/CVE-2018-1000088.ymlWEB
Frequently Asked Questions
- What is CVE-2018-1000088?
- Doorkeeper is vulnerable to stored XSS and code execution. This vulnerability has been assigned a severity rating of MEDIUM (CVSS score: 6.1/10).
- How do I check if my project is affected by CVE-2018-1000088?
- CVE-2018-1000088 affects doorkeeper. It has a 1.4% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2018-1000088 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Exploitation requires specific conditions, or the impact is limited.
This is an above-median EPSS score — 73.2% of tracked vulnerabilities score at or below it, putting its exploitation likelihood in the upper half of the tracked corpus.
Also Known As
Related CVEs
- CVE-2016-6582CRITICAL
Doorkeeper is vulnerable to replay attacks
- CVE-2018-1000211HIGH
Doorkeeper subject to Incorrect Permission Assignment
- CVE-2020-10187HIGH
Exposure of Sensitive Information to an Unauthorized Actor in Doorkeeper
- CVE-2026-128084MEDIUM
sqlite3-ruby: Possible SQL query truncation when a string is 4 GiB or larger
- CVE-2026-128068MEDIUM
rails-html-sanitizer: Possible regular expression denial of service with certain configurations
- CVE-2026-115472MEDIUM
Doorkeeper: When using public clients, any client can revoke any access token