{"id":"GHSA-gc3j-vvwf-4rp8","summary":"Resque vulnerable to reflected XSS in resque-web failed and queues lists","details":"### 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","aliases":["CVE-2023-50725"],"modified":"2024-01-02T05:47:57.133656Z","published":"2023-12-18T19:34:06Z","database_specific":{"cwe_ids":["CWE-233","CWE-79"],"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2023-12-18T19:34:06Z","nvd_published_at":"2023-12-22T20:15:07Z"},"references":[{"type":"WEB","url":"https://github.com/resque/resque/security/advisories/GHSA-gc3j-vvwf-4rp8"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-50725"},{"type":"WEB","url":"https://github.com/resque/resque/pull/1790"},{"type":"WEB","url":"https://github.com/resque/resque/commit/ee99d2ed6cc75d9d384483b70c2d96d312115f07"},{"type":"PACKAGE","url":"https://github.com/resque/resque"},{"type":"WEB","url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/resque/CVE-2023-50725.yml"}],"affected":[{"package":{"name":"resque","ecosystem":"RubyGems","purl":"pkg:gem/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"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/12/GHSA-gc3j-vvwf-4rp8/GHSA-gc3j-vvwf-4rp8.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:N"}]}