{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2020-7354 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2020-7354 yet. Limit exposure of the affected software until one is available.","what":"CVE-2020-7354 is a medium-severity cross-site scripting vulnerability in Rapid7 Metasploit Pro, published on 25 Jun 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-7354 and fix it if it is affected.\n\nWhat it is: CVE-2020-7354 is a medium-severity cross-site scripting vulnerability in Rapid7 Metasploit Pro, published on 25 Jun 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-7354 in the wild and no public exploit code.\n\nAffected product: Rapid7 Metasploit Pro. 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-7354/ (Markdown: https://insights.sbomify.com/CVE-2020-7354/index.md)","id":"CVE-2020-7354","markdown":"https://insights.sbomify.com/CVE-2020-7354/index.md","name":"CVE-2020-7354","record":{"aliases":["GHSA-833m-hwf9-64gc"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["code_execution","account_takeover"],"network_reachable":"yes","non_default_config":false,"product_category":"Metasploit Pro","requires_auth":"high_privilege","summary":"An attacker can inject malicious scripts via a scanned host's name, leading to code execution or account takeover when an operator views the asset in Metasploit Pro.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"rapid7","cpe":[{"product":"metasploit","vendor":"rapid7"}],"cvss":{"score":6.1,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"Cross-site Scripting (XSS) vulnerability in the 'host' field of a discovered scan asset in Rapid7 Metasploit Pro allows an attacker with a specially-crafted network service of a scan target to store an XSS sequence in the Metasploit Pro console, which will trigger when the operator views the record of that scanned host in the Metasploit Pro interface. This issue affects Rapid7 Metasploit Pro version 4.17.1-20200427 and prior versions, and is fixed in Metasploit Pro version 4.17.1-20200514. See also CVE-2020-7355, which describes a similar issue, but involving the generated 'notes' field of a discovered scan asset.","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":"Rapid7 Metasploit Pro Stored XSS in 'host' field","id":"CVE-2020-7354","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"xss","year":"2020"},"n_packages":0,"n_references":2,"next":{"headline":"Rapid7 Metasploit Pro Stored XSS in 'notes' field","id":"CVE-2020-7355"},"packages":[],"prev":{"headline":"GOG Galaxy GalaxyClientService Privilege Escalation","id":"CVE-2020-7352"},"products":["Metasploit Pro"],"published":"2020-06-25","related":[{"cvss_score":8.1,"headline":"Metasploit Framework 'drb_remote_codeexec' code execution","id":"CVE-2020-7385","kev_date_added":null,"published":"2021-04-23"},{"cvss_score":8.1,"headline":"Rapid7 Metasploit Framework Relative Path Traversal in telpho10_credential_dump module","id":"CVE-2020-7377","kev_date_added":null,"published":"2020-08-24"},{"cvss_score":7.8,"headline":"Other in Metasploit Pro","id":"CVE-2017-5235","kev_date_added":null,"published":"2017-03-02"},{"cvss_score":7.5,"headline":"Rapid7 Metasploit HTTP Handler Denial of Service","id":"CVE-2019-5645","kev_date_added":null,"published":"2020-09-01"},{"cvss_score":7.4,"headline":"Rapid7 Metasploit Framework Zip Import Directory Traversal","id":"CVE-2019-5624","kev_date_added":null,"published":"2019-04-30"},{"cvss_score":7.1,"headline":"Rapid7 Metasploit Framework Relative Path Traversal in enum_osx module","id":"CVE-2020-7376","kev_date_added":null,"published":"2020-08-24"},{"cvss_score":7.1,"headline":"Path traversal in Metasploit","id":"CVE-2017-5228","kev_date_added":null,"published":"2017-03-02"}],"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-09-17","vendors":["Rapid7"]},"summary":"An attacker can inject malicious scripts via a scanned host's name, leading to code execution or account takeover when an operator views the asset in Metasploit Pro.","url":"https://insights.sbomify.com/CVE-2020-7354/"}