CVE-2023-50724
Ruby vulnerability analysis and mitigation

Overview

Resque (pronounced like "rescue"), a Redis-backed library for creating background jobs and processing them later, was found to contain a reflected XSS vulnerability in versions before 2.1.0. The vulnerability was discovered in the resque-web component, specifically affecting the current_queue parameter in the path of the queues endpoint. The issue was disclosed on April 17, 2019, and was patched in version 2.1.0 (GitHub Advisory).

Technical details

The vulnerability is classified as a reflected cross-site scripting (XSS) issue where malicious code could be executed by the victim's browser through the pathname of the site. The vulnerability occurs due to insufficient validation of incoming requests, allowing manipulation of the web application's function and activation of malicious scripts. The CVSS v3.1 base score is 6.3 (Medium), with the vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:N, indicating network attack vector, low attack complexity, low privileges required, and user interaction required (GitHub Advisory).

Impact

When exploited, this vulnerability allows attackers to execute arbitrary web scripts or HTML in the context of a victim's browser session. The impact includes potential data theft, session hijacking, or other malicious actions performed in the context of the affected user's session. The vulnerability requires user interaction, as the victim needs to click on a specially crafted link for the exploit to work (GitHub Issue).

Mitigation and workarounds

The vulnerability has been patched in Resque version 2.1.0. Until patching is possible, it is recommended not to click on third-party or untrusted links to the resque-web interface. The fix involves proper HTML escaping of the currentqueue parameter using the ERB::Util#htmlescape function, which is already built into the Rails XSS protection mechanism (GitHub PR, GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related Ruby vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-24293CRITICAL9.2
  • RubyRuby
  • rails
NoYesAug 14, 2025
CVE-2025-59830HIGH7.5
  • RubyRuby
  • ruby-rack
NoYesSep 25, 2025
CVE-2025-58067MEDIUM4.2
  • RubyRuby
  • google_sign_in
NoYesAug 29, 2025
CVE-2025-57821MEDIUM4.2
  • RubyRuby
  • google_sign_in
NoYesAug 27, 2025
CVE-2025-58767LOW1.2
  • RubyRuby
  • ruby3.2
NoYesSep 17, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management