{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2002-2314 exists.","fix":"No fix has been published for CVE-2002-2314 yet. Limit exposure of the affected software until one is available.","what":"CVE-2002-2314 is a medium-severity cross-site scripting vulnerability in Mozilla Mozilla, published on 26 Oct 2007. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2002-2314 and fix it if it is affected.\n\nWhat it is: CVE-2002-2314 is a medium-severity cross-site scripting vulnerability in Mozilla Mozilla, published on 26 Oct 2007. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2002-2314 exists.\n\nAffected product: Mozilla Mozilla. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2002-2314/ (Markdown: https://insights.sbomify.com/CVE-2002-2314/index.md)","id":"CVE-2002-2314","markdown":"https://insights.sbomify.com/CVE-2002-2314/index.md","name":"CVE-2002-2314","record":{"aliases":["GHSA-7rjm-hcwm-8qgg"],"analysis":{"component_type":"browser","fix_type":"upgrade","impacts":["data_read","security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Mozilla browser","requires_auth":"none","summary":"Remote attackers can steal cookies from other domains by exploiting a JavaScript URL parsing flaw in Mozilla browsers.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"mozilla","vendor":"mozilla"}],"cvss":{"score":5,"severity":"medium","source":"nvd","vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N","version":"2.0"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"description":"Mozilla 1.0 allows remote attackers to steal cookies from other domains via a javascript: URL with a leading \"//\" and ending in a newline, which causes the host/path check to fail.","ecosystems":[],"exploits":{"exploitdb":1,"first_seen":"2002-07-24","github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[{"date":"2002-07-24","kind":"exploitdb","ref":"21638","stars":null,"title":"Mozilla 0.9.x/1.0 - JavaScript URL Host Spoofing Arbitrary Cookie Access"}],"tier":"weaponised"},"has_fix":null,"headline":"Cross-site scripting in n/a","id":"CVE-2002-2314","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"mozilla:mozilla","products":["mozilla:mozilla"],"type":"xss","year":"2002"},"n_packages":0,"n_references":7,"next":{"headline":"Denial of service in n/a","id":"CVE-2002-2315"},"packages":[],"prev":{"headline":"Code injection in n/a","id":"CVE-2002-2313"},"products":["n/a"],"published":"2007-10-26","related":[{"cvss_score":10,"headline":"Use after free in n/a","id":"CVE-2007-1794","kev_date_added":null,"published":"2007-04-02"},{"cvss_score":10,"headline":"Integer overflow in n/a","id":"CVE-2004-0722","kev_date_added":null,"published":"2004-08-03"},{"cvss_score":9.8,"headline":"Command injection in n/a","id":"CVE-2007-4039","kev_date_added":null,"published":"2007-07-27"},{"cvss_score":9.8,"headline":"Deserialization in n/a","id":"CVE-2003-0791","kev_date_added":null,"published":"2005-04-14"},{"cvss_score":7.8,"headline":"Denial of service in n/a","id":"CVE-2005-3896","kev_date_added":null,"published":"2005-11-29"},{"cvss_score":7.5,"headline":"Memory corruption in n/a","id":"CVE-2002-2061","kev_date_added":null,"published":"2005-07-14"},{"cvss_score":7.5,"headline":"Memory corruption in n/a","id":"CVE-2002-1091","kev_date_added":null,"published":"2004-09-01"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"GPL-2.0-or-later","name":"Exploit-DB"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-09-17","vendors":["n/a"]},"summary":"Remote attackers can steal cookies from other domains by exploiting a JavaScript URL parsing flaw in Mozilla browsers.","url":"https://insights.sbomify.com/CVE-2002-2314/"}