# CVE-2022-40365: ouqiang gocron Cross-site scripting vulnerability

- Severity: Medium 6.1 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.68%, higher than 53% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-09-14T20:06:43.000Z
- Modified: 2026-06-17T05:01:21.390Z
- Also known as: GHSA-r947-2crg-xc39
- Weaknesses: CWE-79
- Assigned by: mitre

## Description

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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- github.com/ouqiang/gocron (Go): up to 1.5.3
- gocron_project gocron: up to 1.5.3

## Every score

- GitHub: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/ouqiang/gocron/issues/362> (exploit, issue-tracking, third-party-advisory, web)
- <https://github.com/ouqiang/gocron> (package, product, release-notes, third-party-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-40365> (advisory)

## Sources

- CVE List: [CVE-2022-40365](https://www.cve.org/CVERecord?id=CVE-2022-40365), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-r947-2crg-xc39](https://github.com/advisories/GHSA-r947-2crg-xc39), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2022-40365](https://nvd.nist.gov/vuln/detail/CVE-2022-40365), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-40365 · Whole record: https://cve.day/CVE-2022-40365.json · Rebuilt by cve.day 2026-11-25T22:58:14.938Z
