CVE-2022-30768
NixOS vulnerability analysis and mitigation

Overview

A Stored Cross Site Scripting (XSS) vulnerability exists in ZoneMinder version 1.36.12 and earlier, identified as CVE-2022-30768. The vulnerability was discovered in 2022 and affects the Username field functionality in the ZoneMinder application. When exploited, it allows attackers to execute HTML or JavaScript code when an administrator or users with sufficient privileges click on the Logout function (NVD).

Technical details

The vulnerability exists due to insufficient input validation and sanitization of the Username field. When a malicious user creates or modifies a username containing XSS payload, the code remains stored in the system. The payload gets executed when an administrator or users with permissions to view logged-in users attempt to logout from the platform. The execution occurs because the logout function displays the list of currently logged-in users, which includes the malicious username (Medium Blog).

Impact

The vulnerability allows attackers to execute arbitrary HTML or JavaScript code in the context of other users' browsers, particularly administrators. This could lead to session hijacking, credential theft, or other malicious actions performed with the privileges of the affected user (NVD).

Mitigation and workarounds

The vulnerability has been patched in ZoneMinder version 1.36.13 and later releases. Organizations should upgrade to the latest version to protect against this vulnerability. The fix includes proper input validation and sanitization of the Username field (ZoneMinder Releases).

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-2025-69264CRITICAL9.8
  • JavaScriptJavaScript
  • pnpm
NoYesJan 07, 2026
CVE-2025-69263HIGH8.8
  • JavaScriptJavaScript
  • pnpm
NoYesJan 07, 2026
CVE-2025-69262HIGH7.8
  • JavaScriptJavaScript
  • pnpm
NoYesJan 07, 2026
CVE-2025-20807MEDIUM6.7
  • NixOSNixOS
  • android
NoNoJan 06, 2026
CVE-2026-21885MEDIUM6.5
  • NixOSNixOS
  • miniflux
NoYesJan 08, 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