CVE-2023-50725 — Resque vulnerable to reflected XSS in resque
Resque vulnerable to reflected XSS in resque-web failed and queues lists
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (0.77%). Schedule for your next planned update.
Does your project use an affected resque version?
Paste your Gemfile.lock to check it for CVE-2023-50725 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
The following paths in resque-web have been found to be vulnerable to reflected XSS:
/failed/?class=<script>alert(document.cookie)</script>
/queues/><img src=a onerror=alert(document.cookie)>
Patches
v2.2.1
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 February 16, 2024 — 60 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
gem install resque -v 2.2.1
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 (+68 more) | 2.2.1 |
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-gc3j-vvwf-4rp8WEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-50725ADVISORY
- https://github.com/resque/resque/pull/1790WEB
- https://github.com/resque/resque/commit/ee99d2ed6cc75d9d384483b70c2d96d312115f07WEB
- https://github.com/resque/resquePACKAGE
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/resque/CVE-2023-50725.ymlWEB
Frequently Asked Questions
- What is CVE-2023-50725?
- Resque vulnerable to reflected XSS in resque-web failed and queues lists. 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-50725?
- CVE-2023-50725 affects resque. It has a 0.8% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2023-50725 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Exploitation requires specific conditions, or the impact is limited.
This is an above-median EPSS score — 52.1% 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-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
- CVE-2023-50727MEDIUM
Resque vulnerable to reflected XSS in Queue Endpoint