{
    "CVE_data_meta": {
        "ASSIGNER": "security-advisories@github.com",
        "ID": "CVE-2020-11082",
        "STATE": "PUBLIC",
        "TITLE": "Cross-Site Scripting in Kaminari"
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "product": {
                        "product_data": [
                            {
                                "product_name": "Kaminari",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_value": "< 1.2.1"
                                        }
                                    ]
                                }
                            }
                        ]
                    },
                    "vendor_name": "kaminari"
                }
            ]
        }
    },
    "data_format": "MITRE",
    "data_type": "CVE",
    "data_version": "4.0",
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "In Kaminari before 1.2.1, there is a vulnerability that would allow an attacker to inject arbitrary code into pages with pagination links. This has been fixed in 1.2.1."
            }
        ]
    },
    "impact": {
        "cvss": {
            "attackComplexity": "HIGH",
            "attackVector": "NETWORK",
            "availabilityImpact": "LOW",
            "baseScore": 6.4,
            "baseSeverity": "MEDIUM",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "LOW",
            "privilegesRequired": "NONE",
            "scope": "UNCHANGED",
            "userInteraction": "REQUIRED",
            "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:L",
            "version": "3.1"
        }
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')"
                    }
                ]
            }
        ]
    },
    "references": {
        "reference_data": [
            {
                "name": "https://github.com/kaminari/kaminari/security/advisories/GHSA-r5jw-62xg-j433",
                "refsource": "CONFIRM",
                "url": "https://github.com/kaminari/kaminari/security/advisories/GHSA-r5jw-62xg-j433"
            },
            {
                "name": "https://github.com/github/advisory-review/pull/1020",
                "refsource": "MISC",
                "url": "https://github.com/github/advisory-review/pull/1020"
            },
            {
                "name": "https://github.com/kaminari/kaminari/commit/8dd52a1aed3d2fa2835d836de23fc0d8c4ff5db8",
                "refsource": "MISC",
                "url": "https://github.com/kaminari/kaminari/commit/8dd52a1aed3d2fa2835d836de23fc0d8c4ff5db8"
            },
            {
                "refsource": "MLIST",
                "name": "[debian-lts-announce] 20210922 [SECURITY] [DLA 2763-1] ruby-kaminari security update",
                "url": "https://lists.debian.org/debian-lts-announce/2021/09/msg00011.html"
            },
            {
                "refsource": "DEBIAN",
                "name": "DSA-5005",
                "url": "https://www.debian.org/security/2021/dsa-5005"
            }
        ]
    },
    "source": {
        "advisory": "GHSA-r5jw-62xg-j433",
        "discovery": "UNKNOWN"
    }
}