{
    "data_version": "4.0",
    "data_type": "CVE",
    "data_format": "MITRE",
    "CVE_data_meta": {
        "ID": "CVE-2024-0605",
        "ASSIGNER": "security@mozilla.org",
        "STATE": "PUBLIC"
    },
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "Using a javascript: URI with a setTimeout race condition, an attacker can execute unauthorized scripts on top origin sites in urlbar. This bypasses security measures, potentially leading to arbitrary code execution or unauthorized actions within the user's loaded webpage. This vulnerability affects Focus for iOS < 122."
            }
        ]
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "JavaScript URI running on top origin sites"
                    }
                ]
            }
        ]
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "vendor_name": "Mozilla",
                    "product": {
                        "product_data": [
                            {
                                "product_name": "Focus for iOS",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_affected": "<",
                                            "version_name": "unspecified",
                                            "version_value": "122"
                                        }
                                    ]
                                }
                            }
                        ]
                    }
                }
            ]
        }
    },
    "references": {
        "reference_data": [
            {
                "url": "https://bugzilla.mozilla.org/show_bug.cgi?id=1855575",
                "refsource": "MISC",
                "name": "https://bugzilla.mozilla.org/show_bug.cgi?id=1855575"
            },
            {
                "url": "https://www.mozilla.org/security/advisories/mfsa2024-03/",
                "refsource": "MISC",
                "name": "https://www.mozilla.org/security/advisories/mfsa2024-03/"
            }
        ]
    },
    "credits": [
        {
            "lang": "en",
            "value": "James Lee"
        }
    ]
}