{"answers":{"affected":"It affects 1 product.","exploited":"Yes. Attackers have exploited CVE-2022-42948 in the wild since at least 30 Mar 2023.","fix":"No fix has been published for CVE-2022-42948 yet. Limit exposure of the affected software until one is available. US federal agencies must fix it by 20 Apr 2023.","what":"CVE-2022-42948 is a critical cross-site scripting vulnerability in n/a, published on 24 Mar 2023. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-42948 and fix it if it is affected.\n\nWhat it is: CVE-2022-42948 is a critical cross-site scripting vulnerability in n/a, published on 24 Mar 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: Yes. Attackers have exploited CVE-2022-42948 in the wild since at least 30 Mar 2023.\n\nAffected product: n/a. 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-2022-42948/ (Markdown: https://insights.sbomify.com/CVE-2022-42948/index.md)","id":"CVE-2022-42948","markdown":"https://insights.sbomify.com/CVE-2022-42948/index.md","name":"CVE-2022-42948","record":{"aliases":["GHSA-c8qh-hq9w-qh3p"],"analysis":{"component_type":"desktop_application","fix_type":"patch","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Cobalt Strike UI","requires_auth":"none","summary":"Attackers can execute arbitrary code in the Cobalt Strike operator interface by injecting malicious HTML into Swing components.","user_interaction":"not_required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"cobalt_strike","vendor":"helpsystems"}],"cvss":{"score":9.8,"severity":"critical","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-116","name":"Improper Encoding or Escaping of Output"}],"description":"Cobalt Strike 4.7.1 fails to properly escape HTML tags when they are displayed on Swing components. By injecting crafted HTML code, it is possible to remotely execute code in the Cobalt Strike UI.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"exploited"},"has_fix":null,"headline":"Fortra Cobalt Strike User Interface Remote Code Execution","id":"CVE-2022-42948","indexable":true,"kev":{"dateAdded":"2023-03-30","dueDate":"2023-04-20","knownRansomwareCampaignUse":"Unknown","product":"Cobalt Strike","requiredAction":"Apply updates per vendor instructions.","vendorProject":"Fortra","vulnerabilityName":"Fortra Cobalt Strike User Interface Remote Code Execution Vulnerability"},"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"xss","year":"2022"},"n_packages":0,"n_references":3,"next":{"headline":"SilverStripe Subsite weakens file permissions","id":"CVE-2022-42949"},"packages":[],"prev":{"headline":"Memory corruption in Autodesk Maya","id":"CVE-2022-42947"},"products":["n/a"],"published":"2023-03-24","related":[{"cvss_score":6.1,"headline":"Fortra Cobalt Strike Teamserver Cross-Site Scripting (XSS)","id":"CVE-2022-39197","kev_date_added":"2023-03-30","published":"2022-09-22"},{"cvss_score":7.5,"headline":"Information disclosure in n/a","id":"CVE-2022-23317","kev_date_added":null,"published":"2022-02-15"},{"cvss_score":7.5,"headline":"Denial of service in n/a","id":"CVE-2021-36798","kev_date_added":null,"published":"2021-08-09"}],"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":"open","licence":"CC0 1.0","name":"CISA KEV"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"active","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-10-21","vendors":["n/a"]},"summary":"Attackers can execute arbitrary code in the Cobalt Strike operator interface by injecting malicious HTML into Swing components.","url":"https://insights.sbomify.com/CVE-2022-42948/"}