{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "cveId": "CVE-2023-50725",
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "state": "PUBLISHED",
        "assignerShortName": "GitHub_M",
        "dateReserved": "2023-12-11T17:53:36.031Z",
        "datePublished": "2023-12-22T20:02:15.568Z",
        "dateUpdated": "2024-08-02T22:16:47.164Z"
    },
    "containers": {
        "cna": {
            "title": "Resque vulnerable to reflected XSS in resque-web failed and queues lists",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-79",
                            "lang": "en",
                            "description": "CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "attackComplexity": "LOW",
                        "attackVector": "NETWORK",
                        "availabilityImpact": "NONE",
                        "baseScore": 6.3,
                        "baseSeverity": "MEDIUM",
                        "confidentialityImpact": "LOW",
                        "integrityImpact": "HIGH",
                        "privilegesRequired": "LOW",
                        "scope": "UNCHANGED",
                        "userInteraction": "REQUIRED",
                        "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:N",
                        "version": "3.1"
                    }
                }
            ],
            "references": [
                {
                    "name": "https://github.com/resque/resque/security/advisories/GHSA-gc3j-vvwf-4rp8",
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://github.com/resque/resque/security/advisories/GHSA-gc3j-vvwf-4rp8"
                },
                {
                    "name": "https://github.com/resque/resque/pull/1790",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/resque/resque/pull/1790"
                },
                {
                    "name": "https://github.com/resque/resque/commit/ee99d2ed6cc75d9d384483b70c2d96d312115f07",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/resque/resque/commit/ee99d2ed6cc75d9d384483b70c2d96d312115f07"
                },
                {
                    "name": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/resque/CVE-2023-50725.yml",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/resque/CVE-2023-50725.yml"
                }
            ],
            "affected": [
                {
                    "vendor": "resque",
                    "product": "resque",
                    "versions": [
                        {
                            "version": "< 2.2.1",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
                "shortName": "GitHub_M",
                "dateUpdated": "2023-12-22T20:02:15.568Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "Resque is a Redis-backed Ruby library for creating background jobs, placing them on multiple queues, and processing them later. The following paths in resque-web have been found to be vulnerable to reflected XSS: \"/failed/?class=<script>alert(document.cookie)</script>\" and \"/queues/><img src=a onerror=alert(document.cookie)>\". This issue has been patched in version 2.2.1."
                }
            ],
            "source": {
                "advisory": "GHSA-gc3j-vvwf-4rp8",
                "discovery": "UNKNOWN"
            }
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-02T22:16:47.164Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "name": "https://github.com/resque/resque/security/advisories/GHSA-gc3j-vvwf-4rp8",
                        "tags": [
                            "x_refsource_CONFIRM",
                            "x_transferred"
                        ],
                        "url": "https://github.com/resque/resque/security/advisories/GHSA-gc3j-vvwf-4rp8"
                    },
                    {
                        "name": "https://github.com/resque/resque/pull/1790",
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://github.com/resque/resque/pull/1790"
                    },
                    {
                        "name": "https://github.com/resque/resque/commit/ee99d2ed6cc75d9d384483b70c2d96d312115f07",
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://github.com/resque/resque/commit/ee99d2ed6cc75d9d384483b70c2d96d312115f07"
                    },
                    {
                        "name": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/resque/CVE-2023-50725.yml",
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/resque/CVE-2023-50725.yml"
                    }
                ]
            }
        ]
    }
}