{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2020-6159 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2020-6159 yet. Limit exposure of the affected software until one is available.","what":"CVE-2020-6159 is a medium-severity cross-site scripting vulnerability in Opera for Android, published on 23 Dec 2020. 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-2020-6159 and fix it if it is affected.\n\nWhat it is: CVE-2020-6159 is a medium-severity cross-site scripting vulnerability in Opera for Android, published on 23 Dec 2020. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2020-6159 in the wild and no public exploit code.\n\nAffected product: Opera for Android. 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-2020-6159/ (Markdown: https://insights.sbomify.com/CVE-2020-6159/index.md)","id":"CVE-2020-6159","markdown":"https://insights.sbomify.com/CVE-2020-6159/index.md","name":"CVE-2020-6159","record":{"aliases":["GHSA-7hrc-g4hv-6p8r"],"analysis":{"component_type":"browser","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Opera Android browser","requires_auth":"none","summary":"An XSS vulnerability in Opera for Android allows attackers to execute scripts via crafted URLs due to improper protocol stripping.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"Opera","cpe":[{"product":"opera","vendor":"opera"}],"cvss":{"score":6.1,"severity":"medium","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"URLs using “javascript:” have the protocol removed when pasted into the address bar to protect users from cross-site scripting (XSS) attacks, but in certain circumstances this removal was not performed. This could allow users to be socially engineered to run an XSS attack against themselves. This vulnerability affects Opera for Android versions below 61.0.3076.56532.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":null,"headline":"Cross-site scripting in Opera for Android","id":"CVE-2020-6159","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"xss","year":"2020"},"n_packages":0,"n_references":1,"next":{"headline":"Memory corruption in n/a","id":"CVE-2020-6162"},"packages":[],"prev":{"headline":"Other in Opera Mini for Android","id":"CVE-2020-6158"},"products":["Opera for Android"],"published":"2020-12-23","related":[{"cvss_score":10,"headline":"Memory corruption in n/a","id":"CVE-2008-4293","kev_date_added":null,"published":"2008-09-27"},{"cvss_score":10,"headline":"Code injection in n/a","id":"CVE-2008-3079","kev_date_added":null,"published":"2008-07-09"},{"cvss_score":9.3,"headline":"Memory corruption in n/a","id":"CVE-2008-5679","kev_date_added":null,"published":"2008-12-19"},{"cvss_score":9.3,"headline":"Memory corruption in n/a","id":"CVE-2008-5178","kev_date_added":null,"published":"2008-11-20"},{"cvss_score":9.3,"headline":"Command injection in n/a","id":"CVE-2008-4794","kev_date_added":null,"published":"2008-10-30"},{"cvss_score":9.3,"headline":"Information disclosure in n/a","id":"CVE-2008-4695","kev_date_added":null,"published":"2008-10-23"},{"cvss_score":9.3,"headline":"Memory corruption in n/a","id":"CVE-2008-1761","kev_date_added":null,"published":"2008-04-12"}],"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)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-04","vendors":["n/a"]},"summary":"An XSS vulnerability in Opera for Android allows attackers to execute scripts via crafted URLs due to improper protocol stripping.","url":"https://insights.sbomify.com/CVE-2020-6159/"}