{"answers":{"affected":"3 open source packages ship an affected version, including github.com/j3ssie/osmedeus.","exploited":"There is no known exploitation of CVE-2024-51735 in the wild and no public exploit code.","fix":"No fix published yet.","what":"CVE-2024-51735 is a high-severity cross-site scripting vulnerability in j3ssie osmedeus, published on 5 Nov 2024. 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-2024-51735 and fix it if it is affected.\n\nWhat it is: CVE-2024-51735 is a high-severity cross-site scripting vulnerability in j3ssie osmedeus, published on 5 Nov 2024. 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-2024-51735 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/j3ssie/osmedeus (Go): affected all versions; no fix listed\n- github.com/j3ssie/osmedeus (Go): affected all versions up to 4.6.4; no fix listed\n- github.com/j3ssie/osmedeus (Go): affected all versions up to 4.6.4; no fix listed\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-2024-51735/ (Markdown: https://insights.sbomify.com/CVE-2024-51735/index.md)","id":"CVE-2024-51735","markdown":"https://insights.sbomify.com/CVE-2024-51735/index.md","name":"CVE-2024-51735","record":{"aliases":["GHSA-wvv7-wm5v-w2gv","GO-2024-3254"],"analysis":{"component_type":"server_software","fix_type":"no_fix_stated","impacts":["code_execution","privilege_escalation"],"network_reachable":"yes","non_default_config":false,"product_category":"Offensive security workflow engine","requires_auth":"none","summary":"Attackers can execute arbitrary commands on the server via stored XSS in generated reports, affecting Osmedeus users.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":8.7,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-80","name":"Improper Neutralization of Script-Related HTML Tags in a Web Page"},{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"Osmedeus is a Workflow Engine for Offensive Security. Cross-site Scripting (XSS) occurs on the Osmedues web server when viewing results from the workflow, allowing commands to be executed on the server. When using a workflow that contains the summary module, it generates reports in HTML and Markdown formats. The default report is based on the `general-template.md` template.The contents of the files are read and used to generate the report. However, the file contents are not properly filtered, leading to XSS. This may lead to commands executed on the host as well. This issue is not yet resolved. Users are advised to add their own filtering or to reach out to the developer to aid in developing a patch.","ecosystems":["Go"],"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":"Stored Cross-site Scripting to RCE on Osmedeus Web Server","id":"CVE-2024-51735","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"xss","year":"2024"},"n_packages":3,"n_references":1,"next":{"headline":"Command execution hijack on Windows with Process class in symfony/process","id":"CVE-2024-51736"},"packages":[{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/j3ssie/osmedeus","purl":"pkg:golang/github.com/j3ssie/osmedeus","source":"GO-2024-3254"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":["4.6.4"],"package":"github.com/j3ssie/osmedeus","purl":null,"source":"GHSA-wvv7-wm5v-w2gv"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":["4.6.4"],"package":"github.com/j3ssie/osmedeus","purl":"pkg:golang/github.com/j3ssie/osmedeus","source":"GHSA-wvv7-wm5v-w2gv"}],"prev":{"headline":"User data deletion by anoynmous users in Zope","id":"CVE-2024-51734"},"products":["osmedeus"],"published":"2024-11-05","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":"yes","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2024-11-05","vendors":["j3ssie"]},"summary":"Attackers can execute arbitrary commands on the server via stored XSS in generated reports, affecting Osmedeus users.","url":"https://insights.sbomify.com/CVE-2024-51735/"}