{"answers":{"affected":"3 open source packages ship an affected version, including github.com/jmpsec/osctrl. It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-28280 in the wild and no public exploit code.","fix":"Upgrade github.com/jmpsec/osctrl to 0.5.0 or later.","what":"CVE-2026-28280 is a medium-severity cross-site scripting vulnerability in jmpsec osctrl, published on 26 Feb 2026. 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-2026-28280 and fix it if it is affected.\n\nWhat it is: CVE-2026-28280 is a medium-severity cross-site scripting vulnerability in jmpsec osctrl, published on 26 Feb 2026. 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-2026-28280 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/jmpsec/osctrl (Go): affected all versions; fixed in 0.5.0\n- github.com/jmpsec/osctrl (Go): affected all versions; fixed in 0.5.0\n- github.com/jmpsec/osctrl (Go): affected all versions; fixed in 0.5.0\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-2026-28280/ (Markdown: https://insights.sbomify.com/CVE-2026-28280/index.md)","id":"CVE-2026-28280","markdown":"https://insights.sbomify.com/CVE-2026-28280/index.md","name":"CVE-2026-28280","record":{"aliases":["GHSA-4rv8-5cmm-2r22","GO-2026-4576"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution","privilege_escalation"],"network_reachable":"yes","non_default_config":false,"product_category":"osquery management solution","requires_auth":"high_privilege","summary":"A stored XSS in osctrl-admin allows low-privilege users to execute JavaScript in administrators' browsers, potentially leading to full platform compromise.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"osctrl","vendor":"jmpsec"}],"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":"osctrl is an osquery management solution. Prior to version 0.5.0, a stored cross-site scripting (XSS) vulnerability exists in the `osctrl-admin` on-demand query list. A user with query-level permissions can inject arbitrary JavaScript via the query parameter when running an on-demand query. The payload is stored and executes in the browser of any user (including administrators) who visits the query list page. This can be chained with CSRF token extraction to escalate privileges and take actions as the logged in user. An attacker with query-level permissions (the lowest privilege tier) can execute arbitrary JavaScript in the browsers of all users who view the query list. Depending on their level of access, it can lead to full platform compromise if an administrator executes the payload. The issue is fixed in osctrl `v0.5.0`. As a workaround, restrict query-level permissions to trusted users, monitor query list for suspicious payloads, and/or review osctrl user accounts for unauthorized administrators.","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":"`osctrl-admin` has Stored Cross-Site Scripting (XSS) in On-Demand Query List","id":"CVE-2026-28280","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"xss","year":"2026"},"n_packages":3,"n_references":3,"next":{"headline":"InstantCMS has Multiple CSRF Vulnerabilities","id":"CVE-2026-28281"},"packages":[{"ecosystem":"Go","fixed":["0.5.0"],"introduced":["0"],"last_affected":[],"package":"github.com/jmpsec/osctrl","purl":null,"source":"GHSA-4rv8-5cmm-2r22"},{"ecosystem":"Go","fixed":["0.5.0"],"introduced":["0"],"last_affected":[],"package":"github.com/jmpsec/osctrl","purl":"pkg:golang/github.com/jmpsec/osctrl","source":"GHSA-4rv8-5cmm-2r22"},{"ecosystem":"Go","fixed":["0.5.0"],"introduced":["0"],"last_affected":[],"package":"github.com/jmpsec/osctrl","purl":"pkg:golang/github.com/jmpsec/osctrl","source":"GO-2026-4576"}],"prev":{"headline":"`osctrl-admin` Vulnerable to OS Command Injection via Environment Configuration","id":"CVE-2026-28279"},"products":["osctrl"],"published":"2026-02-26","related":[{"cvss_score":7.4,"headline":"`osctrl-admin` Vulnerable to OS Command Injection via Environment Configuration","id":"CVE-2026-28279","kev_date_added":null,"published":"2026-02-26"}],"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":"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":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-03-02","vendors":["jmpsec"]},"summary":"A stored XSS in osctrl-admin allows low-privilege users to execute JavaScript in administrators' browsers, potentially leading to full platform compromise.","url":"https://insights.sbomify.com/CVE-2026-28280/"}