CVE-2021-42085
NixOS vulnerability analysis and mitigation

Overview

An issue was discovered in Zammad before version 4.1.1 that allows stored Cross-Site Scripting (XSS) via a custom Avatar. The vulnerability was identified on October 5, 2021, affecting Zammad versions 1.0.x up to 4.1.0. This security flaw enables users to upload custom avatars containing malicious JavaScript code that could bypass the Content-Security-Policy (Zammad Advisory).

Technical details

The vulnerability is classified as a stored XSS issue (CWE-79: Improper Neutralization of Input During Web Page Generation) with a CVSS v3.1 base score of 5.4 (MEDIUM). The attack vector is network-based, requiring low attack complexity and low privileges, with user interaction required. The scope is changed, and both confidentiality and integrity impacts are low, while availability impact is none (NVD).

Impact

The vulnerability allows attackers to upload malicious avatar images containing JavaScript code that bypasses the Content-Security-Policy. When successful, this could lead to the execution of unauthorized JavaScript code in users' browsers who view the malicious avatar (Zammad Advisory).

Mitigation and workarounds

The vulnerability has been fixed in Zammad versions 4.1.1 and 5.0.0. Users are recommended to upgrade to one of these versions. Updates can be obtained through the official Zammad website, FTP server, or via OS package managers (Zammad Advisory).

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-2026-21885MEDIUM6.5
  • NixOSNixOS
  • miniflux
NoYesJan 08, 2026
CVE-2026-22184MEDIUM4.6
  • NixOSNixOS
  • java-1.8.0-openjdk-demo
NoYesJan 07, 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