{"id":"CVE-2026-28280","published":"2026-02-26T23:00:58Z","modified":"2026-03-02T20:42:03Z","title":"`osctrl-admin` has Stored Cross-Site Scripting (XSS) in On-Demand Query List","vendor":"jmpsec","product":"osctrl","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.1,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00277,"percentile":0.20389,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/jmpsec/osctrl/security/advisories/GHSA-4rv8-5cmm-2r22","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/jmpsec/osctrl/pull/778","tags":["x_refsource_MISC"]},{"url":"https://github.com/jmpsec/osctrl/pull/780","tags":["x_refsource_MISC"]}],"priority":{"score":8.3,"factors":[{"name":"EPSS percentile","points":4.08},{"name":"CVSS severity","points":4.27}]},"vendorSlug":"jmpsec","affectedVersions":[{"vendor":"jmpsec","product":"osctrl","versions":["< 0.5.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-03-02T20:41:56.223101Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/jmpsec/osctrl","vulnerableRanges":["<0.5.0"],"patched":["0.5.0"],"from":["GHSA-4rv8-5cmm-2r22","GO-2026-4576"],"provenance":"source"}],"summary":{"text":"The osctrl-admin component of the osctrl osquery management solution (by jmpsec), in the On-Demand Query List, contains a stored cross-site scripting flaw in versions before 0.5.0 where the query parameter is not neutralised when an on-demand query is run. An attacker holding query-level permissions can store arbitrary JavaScript that executes in the browser of any user who views the query list, including administrators, with the attacker needing only a low-privilege account, user interaction by the victim who loads the page, and no network-level access beyond the application itself.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:11:48Z"},"euvd":{"id":"EUVD-2026-8923","exploited":false,"provenance":"source"}}