CVE-2023-50727 — Resque vulnerable to reflected XSS in resque
Resque vulnerable to reflected XSS in Queue Endpoint
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (0.75%). Schedule for your next planned update.
Does your project use an affected resque version?
Paste your Gemfile.lock to check it for CVE-2023-50727 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
Impact
Reflected XSS can be performed using the current_queue portion of the path on the /queues endpoint of resque-web.
Patches
v2.6.0
Workarounds
No known workarounds at this time. It is recommended to not click on 3rd party or untrusted links to the resque-web interface until you have patched your application.
References
Advisory Timeline
- First published December 18, 2023 (1074 days ago).
- Last revised September 10, 2026 — 996 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
gem install resque -v 2.6.0
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (1)
Affects 1 ecosystem: RubyGems (1).
| Package | Fixed In |
|---|---|
| resque RubyGems · Affected: 0.2.0, 1.0.0, 1.1.0, 1.10.0 (+72 more) | 2.6.0 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-233
- CWE-79Cross-site Scripting (XSS)MITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 6.3 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:N
References
- https://github.com/resque/resque/security/advisories/GHSA-r9mq-m72x-257gWEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-50727ADVISORY
- https://github.com/resque/resque/pull/1865WEB
- https://github.com/resque/resque/commit/7623b8dfbdd0a07eb04b19fb25b16a8d6f087f9aWEB
- https://github.com/resque/resquePACKAGE
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/resque/CVE-2023-50727.ymlWEB
Frequently Asked Questions
- What is CVE-2023-50727?
- Resque vulnerable to reflected XSS in Queue Endpoint. This vulnerability has been assigned a severity rating of MEDIUM (CVSS score: 6.3/10).
- How do I check if my project is affected by CVE-2023-50727?
- CVE-2023-50727 affects resque. It has a 0.7% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2023-50727 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Exploitation requires specific conditions, or the impact is limited.
This is an above-median EPSS score — 50.9% 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-2026-128084MEDIUM
sqlite3-ruby: Possible SQL query truncation when a string is 4 GiB or larger
- CVE-2023-50725MEDIUM
Resque vulnerable to reflected XSS in resque-web failed and queues lists
- CVE-2026-115472MEDIUM
Doorkeeper: When using public clients, any client can revoke any access token
- CVE-2023-50724MEDIUM
Resque vulnerable to Reflected Cross Site Scripting through pathnames