{"id":"CVE-2023-50725","aliases":["CVE-2023-50725","GHSA-gc3j-vvwf-4rp8"],"related":[],"kind":"vulnerability","state":"published","title":"Resque vulnerable to reflected XSS in resque-web failed and queues lists","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### Impact\n\nThe following paths in resque-web have been found to be vulnerable to reflected XSS:\n\n```\n/failed/?class=<script>alert(document.cookie)</script>\n/queues/><img src=a onerror=alert(document.cookie)>\n```\n\n### Patches\n\nv2.2.1\n\n### Workarounds\n\nNo 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.\n\n### References\n\nhttps://github.com/resque/resque/pull/1790","format":"markdown","source":"ghsa"},{"lang":"es","text":"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/&gt;\". Este problema se solucionó en la versión 2.2.1.","source":"nvd"}],"published":"2023-12-18T19:34:06.000Z","modified":"2026-06-17T06:39:51.810Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:N","score":6.3,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:N","score":6.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:N","score":6.3,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"}],"cwes":["CWE-79","CWE-233"],"affected":[{"ranges":[{"version":"< 2.2.1","status":"affected"}],"vendor":"resque","product":"resque","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"2.2.1"}],"ecosystem":"RubyGems","package":"resque","purl":"pkg:gem/resque","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"2.2.1"}],"vendor":"resque","product":"resque","cpe":"cpe:2.3:a:resque:resque:*:*:*:*:*:ruby:*:*","source":"nvd"}],"references":[{"url":"https://github.com/resque/resque/security/advisories/GHSA-gc3j-vvwf-4rp8","tags":["patch","vendor-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/resque/resque/pull/1790","tags":["patch","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/resque/resque/commit/ee99d2ed6cc75d9d384483b70c2d96d312115f07","tags":["patch","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/resque/CVE-2023-50725.yml","tags":["third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-50725","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/resque/resque","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-50725","url":"https://www.cve.org/CVERecord?id=CVE-2023-50725","licence":"CVE Terms of Use","modified":"2024-08-02T22:16:47.164Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-gc3j-vvwf-4rp8","url":"https://github.com/advisories/GHSA-gc3j-vvwf-4rp8","licence":"CC-BY-4.0","modified":"2024-02-16T08:16:11.344Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-50725","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-50725","licence":"Public domain","modified":"2026-06-17T06:39:51.810Z"}],"updatedAt":"2026-11-25T22:58:31.641Z","epss":{"score":0.00526,"percentile":0.45997,"date":"2026-12-01T12:00:22.000Z"}}