{"answers":{"affected":"2 open source packages ship an affected version, including org.sonatype.nexus:nexus-core. It affects 1 product.","exploited":"There is no known exploitation of CVE-2020-10203 in the wild and no public exploit code.","fix":"Upgrade org.sonatype.nexus:nexus-core to 3.21.2 or later.","what":"CVE-2020-10203 is a medium-severity cross-site scripting vulnerability in n/a, published on 1 Apr 2020. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2020-10203 and fix it if it is affected.\n\nWhat it is: CVE-2020-10203 is a medium-severity cross-site scripting vulnerability in n/a, published on 1 Apr 2020. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2020-10203 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.sonatype.nexus:nexus-core (Maven): affected all versions; fixed in 3.21.2\n- org.sonatype.nexus:nexus-core (Maven): affected all versions; fixed in 3.21.2\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-10203/ (Markdown: https://insights.sbomify.com/CVE-2020-10203/index.md)","id":"CVE-2020-10203","markdown":"https://insights.sbomify.com/CVE-2020-10203/index.md","name":"CVE-2020-10203","record":{"aliases":["GHSA-3944-787c-f852"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["code_execution","account_takeover"],"network_reachable":"yes","non_default_config":false,"product_category":"Nexus Repository","requires_auth":"high_privilege","summary":"Cross-site scripting vulnerability in Sonatype Nexus Repository allows attackers to inject malicious scripts, potentially leading to session hijacking or code execution.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"nexus","vendor":"sonatype"}],"cvss":{"score":4.8,"severity":"medium","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:H/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":"Sonatype Nexus Repository before 3.21.2 allows XSS.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Persistent Cross-Site scripting in Nexus Repository Manager","id":"CVE-2020-10203","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"xss","year":"2020"},"n_packages":2,"n_references":1,"next":{"headline":"Remote Code Execution - JavaEL Injection (low privileged accounts) in Nexus Repository Manager","id":"CVE-2020-10204"},"packages":[{"ecosystem":"Maven","fixed":["3.21.2"],"introduced":["0"],"last_affected":[],"package":"org.sonatype.nexus:nexus-core","purl":null,"source":"GHSA-3944-787c-f852"},{"ecosystem":"Maven","fixed":["3.21.2"],"introduced":["0"],"last_affected":[],"package":"org.sonatype.nexus:nexus-core","purl":"pkg:maven/org.sonatype.nexus/nexus-core","source":"GHSA-3944-787c-f852"}],"prev":{"headline":"Sonatype Nexus Repository Remote Code Execution","id":"CVE-2020-10199"},"products":["n/a"],"published":"2020-04-01","related":[{"cvss_score":8.8,"headline":"Sonatype Nexus Repository Remote Code Execution","id":"CVE-2020-10199","kev_date_added":"2021-11-03","published":"2020-04-01"},{"cvss_score":8.8,"headline":"Missing authorization in n/a","id":"CVE-2020-11444","kev_date_added":null,"published":"2020-04-02"},{"cvss_score":7.5,"headline":"Path traversal in n/a","id":"CVE-2014-9389","kev_date_added":null,"published":"2015-01-05"},{"cvss_score":7.5,"headline":"Auth bypass in n/a","id":"CVE-2014-2034","kev_date_added":null,"published":"2014-04-01"},{"cvss_score":7.5,"headline":"Deserialization in n/a","id":"CVE-2014-0792","kev_date_added":null,"published":"2014-01-17"},{"cvss_score":7.2,"headline":"Remote Code Execution - JavaEL Injection (low privileged accounts) in Nexus Repository Manager","id":"CVE-2020-10204","kev_date_added":null,"published":"2020-04-01"},{"cvss_score":4.9,"headline":"Information disclosure in n/a","id":"CVE-2020-24622","kev_date_added":null,"published":"2020-08-25"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"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":"Cross-site scripting vulnerability in Sonatype Nexus Repository allows attackers to inject malicious scripts, potentially leading to session hijacking or code execution.","url":"https://insights.sbomify.com/CVE-2020-10203/"}