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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 6.1
- **CVSS:** 6.1 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: High; User interaction: Required; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.53% (percentile 38, 2026-11-26)
- **CWE:** CWE-79
- **Aliases:** GHSA-4rv8-5cmm-2r22, GO-2026-4576
- **Published:** 2026-02-26T23:00:58.040Z
- **Modified:** 2026-06-17T10:28:25.383Z

## Who should check

- Projects that depend on Go package github.com/jmpsec/osctrl (\< 0.5.0)
- Anyone running jmpsec osctrl \< 0.5.0

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

## Affected and fixed versions

- Go `github.com/jmpsec/osctrl`: affected \< 0.5.0; fixed 0.5.0 (osv)
- jmpsec osctrl: \< 0.5.0 (cvelist)

## Mitigation

- Upgrade github.com/jmpsec/osctrl to 0.5.0 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-28280. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-28280.md
Affected: github.com/jmpsec/osctrl < 0.5.0
Fixed in: 0.5.0

Steps:
1. Search this machine and project for github.com/jmpsec/osctrl (Go), jmpsec osctrl: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-28280 being exploited?

There is no confirmed exploitation: CVE-2026-28280 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.53% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-28280?

Medium: CVSS 6.1 (v3.1, scored by CNA). Remote, login needed. A user has to take an action, such as opening a link, for the attack to work.

### Which versions are affected by CVE-2026-28280?

github.com/jmpsec/osctrl \< 0.5.0.

### Is there a fix for CVE-2026-28280?

Yes. Fixed in 0.5.0. Upgrade github.com/jmpsec/osctrl to 0.5.0 or later.

### How do I check if I'm affected by CVE-2026-28280?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/jmpsec/osctrl/security/advisories/GHSA-4rv8-5cmm-2r22>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2026-28280>
- patch: <https://github.com/jmpsec/osctrl/pull/778>
- patch: <https://github.com/jmpsec/osctrl/pull/780>
- other: <https://github.com/jmpsec/osctrl>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-28280>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-4rv8-5cmm-2r22> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GO-2026-4576> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-28280> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-28280>
