{"id":"CVE-2018-1000088","aliases":["DEBIAN-CVE-2018-1000088","EUVD-2018-0181","GHSA-hwhh-2fwm-cfgw","UBUNTU-CVE-2018-1000088","USN-7394-1"],"status":"published","title":"Doorkeeper is vulnerable to stored XSS and code execution","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.","severity":{"version":"3.0","score":6.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.01428,"percentile":0.73165,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-79"],"published":"2018-03-13T15:00:00Z","modified":"2026-10-23T18:04:46Z","fixes":[{"ecosystem":"RubyGems","package":"doorkeeper","fixed_in":["4.2.6"],"sources":["ghsa","osv"]},{"ecosystem":"Debian:12","package":"ruby-doorkeeper","fixed_in":["4.3.1-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"ruby-doorkeeper","fixed_in":["4.3.1-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"ruby-doorkeeper","fixed_in":["4.3.1-1"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:16.04:LTS","package":"ruby-doorkeeper","fixed_in":["2.2.1-1ubuntu0.1~esm2"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"RubyGems","package":"doorkeeper","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.1.0"},{"last_affected":"4.2.5"},{"fixed":"4.2.6"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"ruby-doorkeeper","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.3.1-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"ruby-doorkeeper","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.3.1-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"ruby-doorkeeper","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.3.1-1"}]}]},{"source":"osv","ecosystem":"RubyGems","package":"doorkeeper","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.1.0"},{"fixed":"4.2.6"}]}],"versions":["2.1.0","2.1.1","2.1.2","2.1.3","2.1.4","2.2.0","2.2.1","2.2.2","3.0.0","3.0.0.rc1","3.0.0.rc2","3.0.1","3.1.0","4.0.0","4.0.0.rc1","4.0.0.rc2","4.0.0.rc3","4.0.0.rc4","4.1.0","4.2.0","4.2.5"]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"ruby-doorkeeper","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.2.1-1ubuntu0.1~esm2"}]}],"versions":["2.2.1-1","2.2.1-1ubuntu0.1~esm1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"ruby-doorkeeper","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.2.1-1ubuntu0.1~esm2"}]}],"versions":["2.2.1-1","2.2.1-1ubuntu0.1~esm1"],"bundled":2}],"products":[{"vendor":"doorkeeper_project","product":"doorkeeper"}],"references":[{"url":"https://github.com/rubysec/ruby-advisory-db/pull/328/files","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://github.com/doorkeeper-gem/doorkeeper/issues/969","tags":["x_refsource_MISC","x_transferred","Issue Tracking","report","web"]},{"url":"https://github.com/doorkeeper-gem/doorkeeper/releases/tag/v4.3.0","tags":["x_refsource_MISC","x_transferred","Release Notes","advisory","web"]},{"url":"https://github.com/doorkeeper-gem/doorkeeper/pull/970","tags":["x_refsource_MISC","x_transferred","Issue Tracking","report","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-1000088","tags":["advisory"]},{"url":"https://github.com/doorkeeper-gem/doorkeeper/commit/7b1a8373ecd69768c896000c7971dbf48948c1b5","tags":["web"]},{"url":"https://blog.justinbull.ca/cve-2018-1000088-stored-xss-in-doorkeeper/"},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/doorkeeper/CVE-2018-1000088.yml","tags":["web"]},{"url":"https://github.com/advisories/GHSA-hwhh-2fwm-cfgw"},{"url":"https://security-tracker.debian.org/tracker/CVE-2018-1000088","tags":["advisory"]},{"url":"https://blog.justinbull.ca/cve-2018-1000088-stored-xss-in-doorkeeper","tags":["web"]},{"url":"https://github.com/doorkeeper-gem/doorkeeper","tags":["package"]},{"url":"https://ubuntu.com/security/CVE-2018-1000088","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-1000088","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-7394-1","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2016-6582","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2018-1000088","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.","status":"published","published":"2018-03-13T15:00:00Z","modified":"2024-08-05T12:33:49.282Z","updated_at":"2026-11-02T14:35:10.685174Z"}],"euvd":[{"id":"EUVD-2018-0181","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.","status":"published","published":"2018-03-13T15:00:00Z","modified":"2024-08-05T12:33:49Z","updated_at":"2026-11-03T02:39:26.824954Z"}],"ghsa":[{"id":"GHSA-hwhh-2fwm-cfgw","title":"Doorkeeper is vulnerable to stored XSS and code execution","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.","status":"published","published":"2018-03-13T20:44:48Z","modified":"2023-07-31T21:11:36Z","cvss":[{"version":"3.0","score":6.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:36:58.760727Z"}],"nvd":[{"id":"CVE-2018-1000088","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.","status":"published","published":"2018-03-13T15:29:01.3Z","modified":"2026-06-17T01:32:24.113Z","cvss":[{"version":"3.0","score":6.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary"},{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:04:24.264003Z"}],"osv":[{"id":"CVE-2018-1000088","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.","status":"published","published":"2018-03-13T15:29:01.3Z","modified":"2026-10-20T10:50:14.096041191Z","cvss":[{"version":"3.0","score":6.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T15:44:07.192756Z"},{"id":"DEBIAN-CVE-2018-1000088","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.","status":"published","published":"2018-03-13T15:29:01.3Z","modified":"2026-10-23T18:04:46.295348461Z","cvss":[{"version":"3.0","score":6.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T15:45:29.988046Z"},{"id":"GHSA-hwhh-2fwm-cfgw","title":"Doorkeeper is vulnerable to stored XSS and code execution","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.","status":"published","published":"2018-03-13T20:44:48Z","modified":"2024-02-16T08:00:57.387423Z","cvss":[{"version":"3.0","score":6.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T15:46:49.621585Z"},{"id":"UBUNTU-CVE-2018-1000088","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.","status":"published","published":"2018-03-13T15:29:00Z","modified":"2026-02-04T04:30:43.986011Z","cvss":[{"version":"3.0","score":6.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T15:54:16.154988Z"},{"id":"USN-7394-1","title":"ruby-doorkeeper vulnerabilities","description":"Jonathan Clem and Justin Bull discovered that Doorkeeper could allow\narbitrary token revocation and replay attacks. An attacker could possibly\nuse this issue to gain unauthorized access to a system. (CVE-2016-6582)\n\nIt was discovered that Doorkeeper incorrectly handled storing client names.\nAn attacker could possibly use this issue to execute a cross-site\nscripting (XSS) attack. (CVE-2018-1000088)\n","status":"published","published":"2025-03-31T01:29:40Z","modified":"2026-06-25T13:32:30.272211392Z","updated_at":"2026-11-02T16:58:19.988474Z"}]}}
