Live threats

All CVEs / Gocron Project

CVE-2022-40365Gocron Project Gocron

Medium 6.1 No auth needed

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Gocron.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
gocron_projectgocron≤ 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