CVE-2022-40365Gocron Project Gocron
Medium 6.1 No auth needed
Follow: this CVE · Gocron Project · Gocron Project Gocron We alert you by email or Slack (account required).
- Priority
- 52
- CVSS 3.1
- 6.1
- EPSS
- 0.8% probability of exploitation in 30 days · percentile 54
- Auth required
- No
- Published
- Sep 14, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
What happens
Cross site scripting (XSS) vulnerability in ouqiang gocron through 1.5.3, allows attackers to execute arbitrary code via scope.row.hostname in web/vue/src/pages/taskLog/list.vue.
What to do
- Apply the vendor's security update for Gocron.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/ouqiang/gocron |
≤ 1.5.3 |
no fixed version | — |
Per OSV / GitHub Advisories (GHSA-r947-2crg-xc39). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| gocron_project | gocron | ≤ 1.5.3 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Product Release Notes Third Party Advisory
- github.com Exploit Issue Tracking Third Party Advisory