Intel

AIKIDO-2026-585466

resque is vulnerable to Cross-Site Scripting (XSS)

Cross-Site Scripting (XSS)GHSA-5r7x-x5pm-94xj Published 3 days ago

51

Medium Risk

This Affects:

RUBYresque
1.1.0 - 3.0.1
Fixed in 3.0.2
Are you affected? Scan for Free

TL;DR

The resque-web admin interface reflects the request path into the Live Poll!! link on the overview and workers pages without escaping it. A request path containing an apostrophe and event handler, such as /overview/x'onmouseover='alert(1), breaks out of the single-quoted href attribute and injects markup. When an operator opens a crafted link the injected script runs in their session. The fix escapes the reflected path with h before building the poll link.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you run the resque-web administrative interface.

Background info

resque is vulnerable to Cross-Site Scripting (XSS) in versions 1.1.0 - 3.0.1.

How to fix this

Upgrade the resque library to the patch version.

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform