{"answers":{"affected":"3 open source packages ship an affected version, including github.com/komari-monitor/komari.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-55300 exists.","fix":"Upgrade github.com/komari-monitor/komari to 0.0.0-20250809073044-53171affcaf0 or later.","what":"CVE-2025-55300 is a high-severity vulnerability in komari-monitor komari, published on 18 Aug 2025. 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-2025-55300 and fix it if it is affected.\n\nWhat it is: CVE-2025-55300 is a high-severity vulnerability in komari-monitor komari, published on 18 Aug 2025. 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-2025-55300 exists.\n\nAffected packages and fixed versions:\n- github.com/komari-monitor/komari (Go): affected all versions; fixed in 0.0.0-20250809073044-53171affcaf0\n- github.com/komari-monitor/komari (Go): affected all versions; fixed in 0.0.0-20250809073044-53171affcaf0\n- github.com/komari-monitor/komari (Go): affected all versions; fixed in 0.0.0-20250809073044-53171affcaf0\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-2025-55300/ (Markdown: https://insights.sbomify.com/CVE-2025-55300/index.md)","id":"CVE-2025-55300","markdown":"https://insights.sbomify.com/CVE-2025-55300/index.md","name":"CVE-2025-55300","record":{"aliases":["GHSA-q355-h244-969h","GO-2025-3874"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution","account_takeover"],"network_reachable":"yes","non_default_config":false,"product_category":"Server monitoring tool","requires_auth":"none","summary":"Attackers can hijack WebSocket connections to execute remote code on monitored servers via CSRF-like attacks against authenticated users.","user_interaction":"required","vuln_class":"csrf"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":8.6,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"Komari is a lightweight, self-hosted server monitoring tool designed to provide a simple and efficient solution for monitoring server performance. Prior to 1.0.4-fix1, WebSocket upgrader has disabled origin checking, enabling Cross-Site WebSocket Hijacking (CSWSH) attacks against authenticated users. Any third party website can send requests to the terminal websocket endpoint with browser's cookies, resulting in remote code execution. This vulnerability is fixed in 1.0.4-fix1.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Komari Allows Cross-site WebSocket Hijacking","id":"CVE-2025-55300","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"csrf","year":"2025"},"n_packages":3,"n_references":2,"next":{"headline":"The Scratch Channel Allows Username Modification","id":"CVE-2025-55301"},"packages":[{"ecosystem":"Go","fixed":["0.0.0-20250809073044-53171affcaf0"],"introduced":["0"],"last_affected":[],"package":"github.com/komari-monitor/komari","purl":null,"source":"GHSA-q355-h244-969h"},{"ecosystem":"Go","fixed":["0.0.0-20250809073044-53171affcaf0"],"introduced":["0"],"last_affected":[],"package":"github.com/komari-monitor/komari","purl":"pkg:golang/github.com/komari-monitor/komari","source":"GHSA-q355-h244-969h"},{"ecosystem":"Go","fixed":["0.0.0-20250809073044-53171affcaf0"],"introduced":["0"],"last_affected":[],"package":"github.com/komari-monitor/komari","purl":"pkg:golang/github.com/komari-monitor/komari","source":"GO-2025-3874"}],"prev":{"headline":"VaulTLS has a password-based login exploit in additional user accounts","id":"CVE-2025-55299"},"products":["komari"],"published":"2025-08-18","related":[],"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":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-08-18","vendors":["komari-monitor"]},"summary":"Attackers can hijack WebSocket connections to execute remote code on monitored servers via CSRF-like attacks against authenticated users.","url":"https://insights.sbomify.com/CVE-2025-55300/"}