Skip to content

Resque vulnerable to reflected XSS in resque-web failed and queues lists

Moderate severity GitHub Reviewed Published Dec 18, 2023 in resque/resque • Updated Jan 17, 2024

Package

bundler resque (RubyGems)

Affected versions

< 2.2.1

Patched versions

2.2.1

Description

Impact

The following paths in resque-web have been found to be vulnerable to reflected XSS:

/failed/?class=<script>alert(document.cookie)</script>
/queues/><img src=a onerror=alert(document.cookie)>

Patches

v2.2.1

Workarounds

No known workarounds at this time. It is recommended to not click on 3rd party or untrusted links to the resque-web interface until you have patched your application.

References

resque/resque#1790

References

@PatrickTulskie PatrickTulskie published to resque/resque Dec 18, 2023
Published to the GitHub Advisory Database Dec 18, 2023
Reviewed Dec 18, 2023
Published by the National Vulnerability Database Dec 22, 2023
Last updated Jan 17, 2024

Severity

Moderate
6.3
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
Low
User interaction
Required
Scope
Unchanged
Confidentiality
Low
Integrity
High
Availability
None
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:N

CVE ID

CVE-2023-50725

GHSA ID

GHSA-gc3j-vvwf-4rp8

Source code

Credits

Checking history
See something to contribute? Suggest improvements for this vulnerability.