CVE-2026-28280: Github.com/jmpsec/osctrl Cross-Site Scripting Vulnerability

MODERATE
Advisory Identifier: GHSA-4rv8-5cmm-2r22
CVSS 6.1
CWE-79
Published
Advisory Summary

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

CVE-2026-28280 at a Glance

CVE Identifier CVE-2026-28280
GHSA Identifier GHSA-4rv8-5cmm-2r22
Severity MODERATE
CVSS v3.1 Base Score 6.1
CWE Classification CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Affected Product Github.com/jmpsec/osctrl
Package Ecosystem Go
Published Date
Last Updated

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

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required High (PR:H)
User Interaction Required (UI:R)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity High (I:H)
Availability None (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.

github.com/jmpsec/osctrl fixed: 0.5.0
Upgrade github.com/jmpsec/osctrl to 0.5.0
Verify Direct and Transitive Dependencies

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

### Summary 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. ### Impact 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. ### Patches Fixed in osctrl `v0.5.0`. Users should upgrade immediately. ### Workarounds Restrict query-level permissions to trusted users. Monitor query list for suspicious payloads. Review osctrl user accounts for unauthorized administrators. ### References - https://github.com/jmpsec/osctrl/pull/778 - https://cwe.mitre.org/data/definitions/79.html ### Credits Leon Johnson and Kwangyun Keum from TikTok USDS JV Offensive Security Operations (Offensive Privacy Team) https://github.com/Kwangyun → @Kwangyun https://github.com/sho-luv → @sho-luv

CVE-2026-28280 Affected Github.com/jmpsec/osctrl Versions

1 component(s)
Fixed Versions:
0.5.0
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?
CVE-2026-28280 is a security vulnerability in Github.com/jmpsec/osctrl involving osctrl has Stored Cross-Site Scripting (XSS) in On-Demand Query List under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting').
Which Github.com/jmpsec/osctrl versions are affected?
Affected versions include releases prior to 0.5.0 across affected packages: github.com/jmpsec/osctrl.
What version fixes CVE-2026-28280?
Upgrading to 0.5.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/jmpsec/osctrl affected?
Yes, github.com/jmpsec/osctrl is affected in releases prior to 0.5.0. Upgrade your dependency to 0.5.0 or later.
What is the CVSS score of CVE-2026-28280?
CVE-2026-28280 has a CVSS v3.1 base score of 6.1 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:N.
What CWE is associated with CVE-2026-28280?
CVE-2026-28280 is classified under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') (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.).
How can I check Go dependencies for CVE-2026-28280?
Run the dependency tree command: 'inspect dependencies for github.com/jmpsec/osctrl'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "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"
  }
}