# CVE-2026-28280: `osctrl-admin` has Stored Cross-Site Scripting (XSS) in On-Demand Query List

- Severity: Medium 6.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.28%, higher than 21% of CVEs (2026-12-02)
- Published: 2026-02-26T23:00:58.040Z
- Modified: 2026-06-17T10:28:25.383Z
- Also known as: GHSA-4rv8-5cmm-2r22, GO-2026-4576
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- jmpsec osctrl: < 0.5.0; before 0.5.0
- github.com/jmpsec/osctrl (Go): before 0.5.0

## Every score

- GitHub_M: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:N`
- GitHub: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:N`
- NVD: CVSS:3.1 8.7 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N`

## References

- <https://github.com/jmpsec/osctrl/security/advisories/GHSA-4rv8-5cmm-2r22> (advisory, mitigation, patch, vendor-advisory, web)
- <https://github.com/jmpsec/osctrl/pull/778> (fix, issue-tracking, patch, web)
- <https://github.com/jmpsec/osctrl/pull/780> (fix, issue-tracking, patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-28280> (advisory)
- <https://github.com/jmpsec/osctrl> (package)

## Sources

- CVE List: [CVE-2026-28280](https://www.cve.org/CVERecord?id=CVE-2026-28280), CVE Terms of Use, modified 2026-03-02
- GitHub Advisory Database: [GHSA-4rv8-5cmm-2r22](https://github.com/advisories/GHSA-4rv8-5cmm-2r22), CC-BY-4.0, modified 2026-03-23
- Go Vulnerability Database: [GO-2026-4576](https://pkg.go.dev/vuln/GO-2026-4576), CC-BY-4.0, modified 2026-03-23
- NVD: [CVE-2026-28280](https://nvd.nist.gov/vuln/detail/CVE-2026-28280), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-28280 · Whole record: https://cve.day/CVE-2026-28280.json · Rebuilt by cve.day 2026-11-25T22:59:14.989Z
