{
    "CVE_data_meta": {
        "ASSIGNER": "security-advisories@github.com",
        "ID": "CVE-2021-39210",
        "STATE": "PUBLIC",
        "TITLE": "Autologin cookie accessible by scripts"
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "product": {
                        "product_data": [
                            {
                                "product_name": "glpi",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_value": "< 9.5.6"
                                        }
                                    ]
                                }
                            }
                        ]
                    },
                    "vendor_name": "glpi-project"
                }
            ]
        }
    },
    "data_format": "MITRE",
    "data_type": "CVE",
    "data_version": "4.0",
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "GLPI is a free Asset and IT management software package. In versions prior to 9.5.6, the cookie used to store the autologin cookie (when a user uses the \"remember me\" feature) is accessible by scripts. A malicious plugin that could steal this cookie would be able to use it to autologin. This issue is fixed in version 9.5.6. As a workaround, one may avoid using the \"remember me\" feature."
            }
        ]
    },
    "impact": {
        "cvss": {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "NONE",
            "baseScore": 6.5,
            "baseSeverity": "MEDIUM",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "NONE",
            "privilegesRequired": "LOW",
            "scope": "UNCHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N",
            "version": "3.1"
        }
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "CWE-1004: Sensitive Cookie Without 'HttpOnly' Flag"
                    }
                ]
            }
        ]
    },
    "references": {
        "reference_data": [
            {
                "name": "https://github.com/glpi-project/glpi/releases/tag/9.5.6",
                "refsource": "MISC",
                "url": "https://github.com/glpi-project/glpi/releases/tag/9.5.6"
            },
            {
                "name": "https://github.com/glpi-project/glpi/security/advisories/GHSA-hwxq-4c5f-m4v2",
                "refsource": "CONFIRM",
                "url": "https://github.com/glpi-project/glpi/security/advisories/GHSA-hwxq-4c5f-m4v2"
            },
            {
                "name": "https://huntr.dev/bounties/b2e99a41-b904-419f-a274-ae383e4925f2/",
                "refsource": "MISC",
                "url": "https://huntr.dev/bounties/b2e99a41-b904-419f-a274-ae383e4925f2/"
            }
        ]
    },
    "source": {
        "advisory": "GHSA-hwxq-4c5f-m4v2",
        "discovery": "UNKNOWN"
    }
}