6.3medium
Resque vulnerable to reflected XSS in resque-web failed and queues lists
- Severity
- 6.3medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.53% (higher than 45% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-gc3j-vvwf-4rp8
Description
Resque is a Redis-backed Ruby library for creating background jobs, placing them on multiple queues, and processing them later. The following paths in resque-web have been found to be vulnerable to reflected XSS: "/failed/?class=<script>alert(document.cookie)</script>" and "/queues/><img src=a onerror=alert(document.cookie)>". This issue has been patched in version 2.2.1.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| resque resque | < 2.2.1, before 2.2.1 | CVE List, NVD |
| resque (RubyGems) | before 2.2.1 | GitHub Advisory Database |
All scores
| GitHub_M | 6.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:N |
| GitHub | 6.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:N |
| NVD | 6.1medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Classification
What each source says
CVE List
Resque is a Redis-backed Ruby library for creating background jobs, placing them on multiple queues, and processing them later. The following paths in resque-web have been found to be vulnerable to reflected XSS: "/failed/?class=<script>alert(document.cookie)</script>" and "/queues/><img src=a onerror=alert(document.cookie)>". This issue has been patched in version 2.2.1.
GitHub Advisory Database
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
NVD (es)
Resque es una librería Ruby respaldada por Redis para crear jobs en segundo plano, colocarlos en varias colas y procesarlos más tarde. Se ha descubierto que las siguientes rutas en resque-web son vulnerables al XSS reflejado: "/failed/?class=" y "/queues/>". Este problema se solucionó en la versión 2.2.1.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-50725 changed 2024-08-02 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-gc3j-vvwf-4rp8 changed 2024-02-16 | CC-BY-4.0 |
| NVD | CVE-2023-50725 changed 2026-06-17 | Public domain |