CVEfocus › CVE database › CVE-2022-39285

CVE-2022-39285Stored Cross-Site Scripting Vulnerability In File Parameter in zoneminder

CVSS 7.6 HighEPSS 3.8% (higher than 91% of CVEs)Published 2022-10-07Updated 2025-04-22Assigner: GitHub_M

ZoneMinder is a free, open source Closed-circuit television software application The file parameter is vulnerable to a cross site scripting vulnerability (XSS) by backing out of the current "tr" "td" brackets. This then allows a malicious user to provide code that will execute when a user views the specific log on the "view=log" page. This vulnerability allows an attacker to store code within the logs that will be executed when loaded by a legitimate user. These actions will be performed with the permission of the victim. This could lead to data loss and/or further exploitation including account takeover. This issue has been addressed in versions `1.36.27` and `1.37.24`. Users are advised to upgrade. Users unable to upgrade should disable database logging.

CWE-79

What to do

Fixed builds are available from Alpine, Debian: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

11Fixed
3Fix pending
2Under investigation
3Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10zoneminderFix pendingUBUNTU-CVE-2022-39285
Ubuntu 26.04zoneminderUnder investigationUBUNTU-CVE-2022-39285
Ubuntu 25.10zoneminderWill not fix
Debian security team has a note limiting security support for ZoneMinder for installations behind a trusted HTTP zone, more information can be found at…
UBUNTU-CVE-2022-39285
Ubuntu 24.04zoneminderUnder investigationUBUNTU-CVE-2022-39285
Ubuntu 22.04zoneminderFix pendingUBUNTU-CVE-2022-39285
Ubuntu 20.04zoneminderFix pendingUBUNTU-CVE-2022-39285
Ubuntu 16.04zoneminderWill not fix
Debian security team has a note limiting security support for ZoneMinder for installations behind a trusted HTTP zone, more information can be found at…
UBUNTU-CVE-2022-39285
Ubuntu 14.04zoneminderWill not fix
Debian security team has a note limiting security support for ZoneMinder for installations behind a trusted HTTP zone, more information can be found at…
Debian 14zoneminderFixed1.36.31+dfsg1-1DEBIAN-CVE-2022-39285
Debian 13zoneminderFixed1.36.31+dfsg1-1DEBIAN-CVE-2022-39285
Debian 12zoneminderFixed1.36.31+dfsg1-1DEBIAN-CVE-2022-39285
Alpine Linux 3.24zoneminderFixed1.36.31-r0ALPINE-CVE-2022-39285
Alpine Linux 3.23zoneminderFixed1.36.31-r0ALPINE-CVE-2022-39285
Alpine Linux 3.22zoneminderFixed1.36.31-r0ALPINE-CVE-2022-39285
Alpine Linux 3.21zoneminderFixed1.36.31-r0ALPINE-CVE-2022-39285
Alpine Linux 3.20zoneminderFixed1.36.31-r0ALPINE-CVE-2022-39285
Alpine Linux 3.19zoneminderFixed1.36.31-r0ALPINE-CVE-2022-39285
Alpine Linux 3.18zoneminderFixed1.36.31-r0ALPINE-CVE-2022-39285
Alpine Linux 3.17zoneminderFixed1.36.31-r0ALPINE-CVE-2022-39285

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.