CVE-2026-28280 `osctrl-admin` has Stored Cross-Site Scripting (XSS) in On-Demand Query List
A stored XSS in osctrl-admin allows low-privilege users to execute JavaScript in administrators' browsers, potentially leading to full platform compromise.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2026-28280?
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.
Official 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.
Weakness: CWE-79
Which versions are affected by CVE-2026-28280?
3 open source packages ship an affected version, including github.com/jmpsec/osctrl. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
github.com/jmpsec/osctrl Go | All versions | 0.5.0 |
github.com/jmpsec/osctrl Go | All versions | 0.5.0 |
github.com/jmpsec/osctrl Go | All versions | 0.5.0 |
Products include Jmpsec Osctrl.
How do I fix CVE-2026-28280?
Upgrade github.com/jmpsec/osctrl to 0.5.0 or later.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2026-28280 being exploited?
There is no known exploitation of CVE-2026-28280 in the wild and no public exploit code.
Other vulnerabilities in jmpsec osctrl
Sources
Also known as GHSA-4rv8-5cmm-2r22, GO-2026-4576.