resque is vulnerable to Cross-Site Scripting (XSS)
51
Medium Risk
The resque-web admin interface renders queue names, worker identifiers, job class names, job payload fields, failed-job details, and Redis keys and values into HTML text nodes and href attributes without escaping them. Anyone able to enqueue a job or register a worker controls these values, so a crafted queue name or payload such as "><svg onload=alert(1)> injects markup that runs when an operator opens the affected page. This stores attacker-controlled script in the dashboard and executes it in the operator's session. The fix escapes these values with h/escape_html before rendering and serves /stats.txt as text/plain.
You are affected if you are using a version that falls within the vulnerable range and you run the resque-web administrative interface where queue names, worker identifiers, or job payloads can be influenced by untrusted job producers.
resque is vulnerable to Cross-Site Scripting (XSS) in versions 0.0.1 - 3.0.1.
Upgrade the resque library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.