CVE-2022-40365
NixOS vulnerability analysis and mitigation

Overview

A Cross-Site Scripting (XSS) vulnerability was identified in ouqiang gocron through version 1.5.3. The vulnerability exists in the web/vue/src/pages/taskLog/list.vue file, where attackers can execute arbitrary code via scope.row.hostname parameter (MITRE CVE, NVD).

Technical details

The vulnerability is located in the taskLog/list.vue component of the gocron application, specifically on line 91. The issue arises because the host parameter is parsed directly by the browser as HTML without proper sanitization, enabling potential XSS attacks (GitHub Issue).

Impact

This vulnerability could allow attackers to execute arbitrary code in the context of the user's browser session, potentially leading to theft of sensitive information, session hijacking, or other malicious actions typical of XSS attacks (NVD).

Exploitability

The vulnerability can be exploited by injecting malicious code via the scope.row.hostname parameter in the task log list view. No authentication or special privileges are required to exploit this vulnerability (GitHub Issue).

Mitigation and workarounds

Users should upgrade to a version newer than 1.5.3 if available, or implement proper input sanitization for the hostname parameter in the task log list view (GitHub Repo).

Additional resources


SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-34191CRITICAL9.1
  • NixOS logoNixOS
  • apr-util
NoYesAug 06, 2026
CVE-2026-32327CRITICAL9.1
  • NixOS logoNixOS
  • apr-util-bdb
NoYesAug 06, 2026
CVE-2026-34502HIGH7.5
  • NixOS logoNixOS
  • apr-util-ldap
NoYesAug 06, 2026
CVE-2026-34501HIGH7.5
  • NixOS logoNixOS
  • apr-util-ldap
NoYesAug 06, 2026
CVE-2025-49506HIGH7.5
  • NixOS logoNixOS
  • apr-util-sqlite
NoYesAug 06, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management