Skip to content
Fencer Vulns
high 7.6

CVE-2022-39285 json

Stored Cross-Site Scripting Vulnerability In File Parameter in zoneminder

published 2022-10-07 4 y ago modified 2026-06-17 4 mo ago also EUVD-2022-41786

cvss
7.6
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
5.1%
EPSS 5.1% chance of exploitation in 30 days, percentile 92%
public exploits
1
Exploit-DB

Summary

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.

Patch / fix

  • zoneminder zoneminder 1.36.27, 1.37.24
  • zoneminder Debian 14, Debian 13, Debian 12 1.36.31+dfsg1-1

debian advisories DEBIAN-CVE-2022-39285

  • zoneminder Alpine 3.24, Alpine 3.23, Alpine 3.22 +5 more 1.36.31-r0

alpine advisories ALPINE-CVE-2022-39285

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

Timeline

  1. Published
  2. First public exploit (EDB-51071)

CISA SSVC

Exploitation
Proof of concept is public
Automatable
no
Technical impact
partial
Assessed
18 mo ago

Exploit prediction

5.12% chance of exploitation in the next 30 days, higher than 92% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • EDB-51071 Zoneminder < v1.37.24 - Log Injection & Stored XSS & CSRF Bypass webapps, 2023-03-27
  • github.com https://github.com/ZoneMinder/zoneminder/security/advisories/GHSA-h6xp-cvwv-q433 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
CNA 3.1 7.6 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:H
NVD 3.1 5.4 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Affected products

  • ZoneMinder zoneminder

Classification

Weakness
  • CWE-79 Improper Neutralization of Input During Web Page Generation

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.