CVE-2022-40365
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).

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

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