{"id":"CVE-2023-50725","aliases":["EUVD-2023-3207","GHSA-gc3j-vvwf-4rp8"],"status":"published","title":"Resque vulnerable to reflected XSS in resque-web failed and queues lists","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=\u003cscript\u003ealert(document.cookie)\u003c/script\u003e\" and \"/queues/\u003e\u003cimg src=a onerror=alert(document.cookie)\u003e\". This issue has been patched in version 2.2.1.","severity":{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:N","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-11","score":0.00526,"percentile":0.45005,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-233","CWE-79"],"published":"2023-12-18T19:34:06Z","modified":"2026-10-28T02:30:23Z","fixes":[{"ecosystem":"RubyGems","package":"resque","fixed_in":["2.2.1"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"RubyGems","package":"resque","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.2.1"}]}]},{"source":"osv","ecosystem":"RubyGems","package":"resque","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.2.1"}]}],"versions":["0.2.0","1.0.0","1.1.0","1.10.0","1.11.0","1.12.0","1.13.0","1.14.0","1.15.0","1.16.0","1.16.1","1.17.0","1.17.1","1.18.0","1.18.1","1.18.2","1.18.3","1.18.4","1.18.5","1.18.6","1.19.0","1.2.0","1.2.1","1.2.3","1.20.0","1.21.0","1.22.0","1.23.0","1.23.1","1.24.0","1.24.1","1.25.0","1.25.0.pre","1.25.1","1.25.2","1.26.0","1.26.pre.0","1.27.0","1.27.1","1.27.2","1.27.3","1.27.4","1.3.0","1.3.1","1.4.0","1.5.0","1.5.1","1.5.2","1.6.0","1.6.1","1.7.0","1.7.1","1.8.0","1.8.1","1.8.2","1.8.3","1.8.4","1.8.5","1.8.6","1.9.0","1.9.1","1.9.10","1.9.2","1.9.3","1.9.4","1.9.5","1.9.7","1.9.8","1.9.9","2.0.0","2.1.0","2.2.0"]}],"products":[{"vendor":"resque","product":"resque"}],"references":[{"url":"https://github.com/resque/resque/security/advisories/GHSA-gc3j-vvwf-4rp8","tags":["x_refsource_CONFIRM","x_transferred","Patch","Vendor Advisory","advisory","web"]},{"url":"https://github.com/resque/resque/pull/1790","tags":["x_refsource_MISC","x_transferred","Patch","fix","web"]},{"url":"https://github.com/resque/resque/commit/ee99d2ed6cc75d9d384483b70c2d96d312115f07","tags":["x_refsource_MISC","x_transferred","Patch","fix","web"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/resque/CVE-2023-50725.yml","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-50725","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-gc3j-vvwf-4rp8"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/50xxx/CVE-2023-50725.json","tags":["advisory"]},{"url":"https://github.com/resque/resque","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2023-50725","title":"Resque vulnerable to reflected XSS in resque-web failed and queues lists","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=\u003cscript\u003ealert(document.cookie)\u003c/script\u003e\" and \"/queues/\u003e\u003cimg src=a onerror=alert(document.cookie)\u003e\". This issue has been patched in version 2.2.1.","status":"published","published":"2023-12-22T20:02:15.568Z","modified":"2024-08-02T22:16:47.164Z","cvss":[{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:N","level":"medium","assessor":"cna"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:35:34.923818Z"}],"euvd":[{"id":"EUVD-2023-3207","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=\u003cscript\u003ealert(document.cookie)\u003c/script\u003e\" and \"/queues/\u003e\u003cimg src=a onerror=alert(document.cookie)\u003e\". This issue has been patched in version 2.2.1.","status":"published","published":"2023-12-22T20:02:15Z","modified":"2024-08-02T22:16:47Z","cvss":[{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:N","level":"medium"}],"updated_at":"2026-11-03T03:26:07.661682Z"}],"ghsa":[{"id":"GHSA-gc3j-vvwf-4rp8","title":"Resque vulnerable to reflected XSS in resque-web failed and queues lists","description":"### Impact\n\nThe following paths in resque-web have been found to be vulnerable to reflected XSS:\n\n```\n/failed/?class=\u003cscript\u003ealert(document.cookie)\u003c/script\u003e\n/queues/\u003e\u003cimg src=a onerror=alert(document.cookie)\u003e\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\n","status":"published","published":"2023-12-18T19:34:06Z","modified":"2024-01-17T10:20:56Z","cvss":[{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:N","level":"medium"}],"cwes":["CWE-79","CWE-233"],"updated_at":"2026-11-02T14:37:31.550603Z"}],"nvd":[{"id":"CVE-2023-50725","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=\u003cscript\u003ealert(document.cookie)\u003c/script\u003e\" and \"/queues/\u003e\u003cimg src=a onerror=alert(document.cookie)\u003e\". This issue has been patched in version 2.2.1.","status":"published","published":"2023-12-22T20:15:07.657Z","modified":"2026-06-17T06:39:51.81Z","cvss":[{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:N","level":"medium","assessor":"secondary"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:08:57.117371Z"}],"osv":[{"id":"CVE-2023-50725","title":"Resque vulnerable to reflected XSS in resque-web failed and queues lists","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=\u003cscript\u003ealert(document.cookie)\u003c/script\u003e\" and \"/queues/\u003e\u003cimg src=a onerror=alert(document.cookie)\u003e\". This issue has been patched in version 2.2.1.","status":"published","published":"2023-12-22T20:02:15.568Z","modified":"2026-10-28T02:30:23.598311794Z","cvss":[{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T15:44:35.245372Z"},{"id":"GHSA-gc3j-vvwf-4rp8","title":"Resque vulnerable to reflected XSS in resque-web failed and queues lists","description":"### Impact\n\nThe following paths in resque-web have been found to be vulnerable to reflected XSS:\n\n```\n/failed/?class=\u003cscript\u003ealert(document.cookie)\u003c/script\u003e\n/queues/\u003e\u003cimg src=a onerror=alert(document.cookie)\u003e\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\n","status":"published","published":"2023-12-18T19:34:06Z","modified":"2024-02-16T08:16:11.344395Z","cvss":[{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:N","level":"medium"}],"cwes":["CWE-233","CWE-79"],"updated_at":"2026-11-02T15:46:47.472172Z"}]}}
