Vulnerabilities in pkg:golang/github.com/jmpsec/osctrl
PACKAGECVE-2026-28280 is a MODERATE (CVSS 6.1) cross-site scripting vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')) affecting Github.com/jmpsec/osctrl libraries in the Go ecosystem. The issue involves osctrl has stored cross-site scripting (xss) in on-demand query list. Remediation is available by upgrading affected packages to version 0.5.0.
pkg:golang/github.com/jmpsec/osctrl
Vulnerability advisories affecting package pkg:golang/github.com/jmpsec/osctrl. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-4rv8-5cmm-2r22 | CVE-2026-28280 | MODERATE | osctrl has Stored Cross-Site Scripting (XSS) in On-Demand Query List |
| GHSA-rchw-322g-f7rm | CVE-2026-28279 | HIGH | osctrl is Vulnerable to OS Command Injection via Environment Configuration |
CVE-2026-28280 at a Glance
Security Impact
CVSS: 6.1
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:N).
How to Fix CVE-2026-28280
To remediate this vulnerability, upgrade all affected Github.com/jmpsec/osctrl dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/jmpsec/osctrl to 0.5.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/jmpsec/osctrl
How to Check if You Are Affected
To determine whether your application is affected by CVE-2026-28280, inspect your project dependencies for Github.com/jmpsec/osctrl:
inspect dependencies for github.com/jmpsec/osctrl
Analyze the terminal output to locate any version of Github.com/jmpsec/osctrl in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.5.0), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'), where the product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. In Github.com/jmpsec/osctrl, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-28280 Affected Github.com/jmpsec/osctrl Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/jmpsec/osctrl
|
Go |
< 0.5.0
|
0.5.0
|
References
Frequently Asked Questions
What is CVE-2026-28280?
Which Github.com/jmpsec/osctrl versions are affected?
What version fixes CVE-2026-28280?
Is github.com/jmpsec/osctrl affected?
What is the CVSS score of CVE-2026-28280?
What CWE is associated with CVE-2026-28280?
How can I check Go dependencies for CVE-2026-28280?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-4rv8-5cmm-2r22",
"modified" : "2026-03-02T15:22:41Z",
"published" : "2026-02-28T02:07:15Z",
"aliases" : [ "CVE-2026-28280" ],
"summary" : "osctrl has Stored Cross-Site Scripting (XSS) in On-Demand Query List",
"details" : "### Summary\nA 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.\n\n### Impact\nAn 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.\n\n### Patches\nFixed in osctrl `v0.5.0`. Users should upgrade immediately.\n\n### Workarounds\nRestrict query-level permissions to trusted users. Monitor query list for suspicious payloads. Review osctrl user accounts for unauthorized administrators.\n\n### References\n- https://github.com/jmpsec/osctrl/pull/778\n- https://cwe.mitre.org/data/definitions/79.html\n\n### Credits\n\nLeon Johnson and Kwangyun Keum from TikTok USDS JV Offensive Security Operations (Offensive Privacy Team) \n\nhttps://github.com/Kwangyun → @Kwangyun\n\nhttps://github.com/sho-luv → @sho-luv",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/jmpsec/osctrl"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.5.0"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/jmpsec/osctrl/security/advisories/GHSA-4rv8-5cmm-2r22"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-28280"
}, {
"type" : "WEB",
"url" : "https://github.com/jmpsec/osctrl/pull/778"
}, {
"type" : "WEB",
"url" : "https://github.com/jmpsec/osctrl/pull/780"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/jmpsec/osctrl"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-79" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-02-28T02:07:15Z",
"nvd_published_at" : "2026-02-26T23:16:37Z"
}
}