VYPR
Moderate severityNVD Advisory· Published Dec 13, 2022· Updated Apr 22, 2025

CVE-2022-44303

CVE-2022-44303

Description

Resque Scheduler version 1.27.4 is vulnerable to Cross-site scripting (XSS). A remote attacker could inject javascript code to the "{schedule_job}" or "args" parameter in /resque/delayed/jobs/{schedule_job}?args={args_id} to execute javascript at client side.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
resque-schedulerRubyGems
>= 1.27.4, < 4.10.24.10.2

Affected products

2

Patches

Vulnerability mechanics

Root cause

"Missing output encoding of user-controllable input in the delayed jobs web interface allows stored/reflected cross-site scripting."

Attack vector

An attacker can inject arbitrary JavaScript by crafting a malicious value for the `{schedule_job}` or `args` parameter in the URL `/resque/delayed/jobs/{schedule_job}?args={args_id}` [ref_id=1]. When a victim (typically an administrator or operator) visits that page, the injected script executes in their browser session. The attack requires no authentication beyond access to the resque-web interface, which is often exposed on internal networks or misconfigured to be publicly accessible.

Affected code

The advisory [ref_id=1] identifies the vulnerable endpoint as `/resque/delayed/jobs/{schedule_job}?args={args_id}`. The specific source file and line number are not disclosed in the bundle, but the vulnerability lies in the web view that renders the delayed job details without escaping the job name or arguments.

What the fix does

No patch is included in the bundle. The advisory [ref_id=1] does not provide a specific fix commit or remediation guidance. To close the vulnerability, the application must properly escape or sanitize the `{schedule_job}` and `args` parameters before rendering them in the HTML response, neutralizing any HTML/JavaScript content (e.g., by using ERB's `h()` helper or equivalent output encoding).

Preconditions

  • inputThe attacker must be able to craft a URL containing malicious JavaScript in the {schedule_job} or args parameter.
  • networkA victim with access to the resque-web interface must visit the crafted URL.

Generated on May 27, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.

References

6

News mentions

0

No linked articles in our index yet.