# CVE-2023-50725: Resque vulnerable to reflected XSS in resque-web failed and queues lists

- Severity: Medium 6.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.53%, higher than 45% of CVEs (2026-12-01)
- Published: 2023-12-18T19:34:06.000Z
- Modified: 2026-06-17T06:39:51.810Z
- Also known as: GHSA-gc3j-vvwf-4rp8
- Weaknesses: CWE-79, CWE-233
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- resque resque: < 2.2.1; before 2.2.1
- resque (RubyGems): before 2.2.1

## Every score

- GitHub_M: CVSS:3.1 6.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:N`
- GitHub: CVSS:3.1 6.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:N`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/resque/resque/security/advisories/GHSA-gc3j-vvwf-4rp8> (patch, vendor-advisory, web)
- <https://github.com/resque/resque/pull/1790> (patch, web)
- <https://github.com/resque/resque/commit/ee99d2ed6cc75d9d384483b70c2d96d312115f07> (patch, web)
- <https://github.com/rubysec/ruby-advisory-db/blob/master/gems/resque/CVE-2023-50725.yml> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-50725> (advisory)
- <https://github.com/resque/resque> (package)

## Sources

- CVE List: [CVE-2023-50725](https://www.cve.org/CVERecord?id=CVE-2023-50725), CVE Terms of Use, modified 2024-08-02
- GitHub Advisory Database: [GHSA-gc3j-vvwf-4rp8](https://github.com/advisories/GHSA-gc3j-vvwf-4rp8), CC-BY-4.0, modified 2024-02-16
- NVD: [CVE-2023-50725](https://nvd.nist.gov/vuln/detail/CVE-2023-50725), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-50725 · Whole record: https://cve.day/CVE-2023-50725.json · Rebuilt by cve.day 2026-11-25T22:58:31.641Z
