{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "cveId": "CVE-2024-53272",
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "state": "PUBLISHED",
        "assignerShortName": "GitHub_M",
        "dateReserved": "2024-11-19T20:08:14.482Z",
        "datePublished": "2024-12-11T22:06:56.331Z",
        "dateUpdated": "2024-12-12T16:00:45.275Z"
    },
    "containers": {
        "cna": {
            "title": "GHSL-2024-109: Reflected XSS in /login in habitica",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-79",
                            "lang": "en",
                            "description": "CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "cvssV4_0": {
                        "attackVector": "NETWORK",
                        "attackComplexity": "LOW",
                        "attackRequirements": "NONE",
                        "privilegesRequired": "NONE",
                        "userInteraction": "ACTIVE",
                        "vulnConfidentialityImpact": "NONE",
                        "vulnIntegrityImpact": "NONE",
                        "vulnAvailabilityImpact": "NONE",
                        "subConfidentialityImpact": "LOW",
                        "subIntegrityImpact": "HIGH",
                        "subAvailabilityImpact": "NONE",
                        "baseScore": 5,
                        "baseSeverity": "MEDIUM",
                        "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:H/SA:N/E:P",
                        "version": "4.0"
                    }
                }
            ],
            "references": [
                {
                    "name": "https://securitylab.github.com/advisories/GHSL-2024-109_GHSL-2024-111_habitica/",
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://securitylab.github.com/advisories/GHSL-2024-109_GHSL-2024-111_habitica/"
                },
                {
                    "name": "https://github.com/HabitRPG/habitica/commit/946ade5da1f52a804ef2ba76d49416c43e8166bf",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/HabitRPG/habitica/commit/946ade5da1f52a804ef2ba76d49416c43e8166bf"
                }
            ],
            "affected": [
                {
                    "vendor": "HabitRPG",
                    "product": "habatica",
                    "versions": [
                        {
                            "version": "< 5.28.5",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
                "shortName": "GitHub_M",
                "dateUpdated": "2024-12-11T22:13:09.822Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "Habitica is an open-source habit-building program. Versions prior to 5.28.5 are vulnerable to reflected cross-site scripting. The `login` and `social media` function in `RegisterLoginReset.vue` contains two reflected XSS vulnerabilities due to an incorrect sanitization function. An attacker can specify a malicious `redirectTo` parameter to trigger the vulnerability, giving the attacker control of the victim’s account when a victim registers or logins with a specially crafted link. Version 5.28.5 contains a patch."
                }
            ],
            "source": {
                "advisory": "GHSA-gx92-46gx-mgrv",
                "discovery": "UNKNOWN"
            }
        },
        "adp": [
            {
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2024-12-12T15:56:14.828733Z",
                                "id": "CVE-2024-53272",
                                "options": [
                                    {
                                        "Exploitation": "poc"
                                    },
                                    {
                                        "Automatable": "no"
                                    },
                                    {
                                        "Technical Impact": "partial"
                                    }
                                ],
                                "role": "CISA Coordinator",
                                "version": "2.0.3"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2024-12-12T16:00:45.275Z"
                }
            }
        ]
    }
}