CVE-2022-39285
published high CVSS 3.1 · 7.6Stored Cross-Site Scripting Vulnerability In File Parameter in zoneminder
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| ZoneMinder | — | zoneminder< 1.36.27 · >= 1.37.0, < 1.37.24 | Affected | Not stated | GitHub_M |
| Alpine Linux | edge | zoneminder | Fixed | 1.36.31-r0 | Package fix record |
| Alpine Linux | v3.17 | zoneminder | Fixed | 1.36.31-r0 | Package fix record |
| Alpine Linux | v3.18 | zoneminder | Fixed | 1.36.31-r0 | Package fix record |
| Alpine Linux | v3.19 | zoneminder | Fixed | 1.36.31-r0 | Package fix record |
| Alpine Linux | v3.20 | zoneminder | Fixed | 1.36.31-r0 | Package fix record |
| Alpine Linux | v3.21 | zoneminder | Fixed | 1.36.31-r0 | Package fix record |
| Alpine Linux | v3.22 | zoneminder | Fixed | 1.36.31-r0 | Package fix record |
Show 2 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Alpine Linux | v3.23 | zoneminder | Fixed | 1.36.31-r0 | Package fix record |
| Alpine Linux | v3.24 | zoneminder | Fixed | 1.36.31-r0 | Package fix record |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.6 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| ZoneMinder | zoneminder | < 1.36.27 (affected)>= 1.37.0, < 1.37.24 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-79 CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
4- http://packetstormsecurity.com/files/171498/Zoneminder-Log-Injection-XSS-Cross-Site-Request-Forgery.html
- https://github.com/ZoneMinder/zoneminder/commit/c0a4c05e84eea0f6ccf7169c014efe5422c9ba0d
- https://github.com/ZoneMinder/zoneminder/commit/d289eb48601a76e34feea3c1683955337b1fae59
- https://github.com/ZoneMinder/zoneminder/security/advisories/GHSA-h6xp-cvwv-q433
Provider assertions
3GitHub_M · cna
Stored Cross-Site Scripting Vulnerability In File Parameter in zoneminder
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 420b2fa1ea589716da05fa679ef042d1590d3e373d5f9738ebd06e045f50eedc
- Ingested
- 23 Sep 2026, 08:02:02 UTC
- Source record
- Official CVE record