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

- Severity: High 7.6 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 5.23%, higher than 92% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2022-10-07T00:00:00.000Z
- Modified: 2026-06-17T04:58:04.280Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- ZoneMinder zoneminder: < 1.36.27; >= 1.37.0, < 1.37.24; before 1.36.27; from >1.37.0 before 1.37.24

## Every score

- GitHub_M: CVSS:3.1 7.6 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:H`
- NVD: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/ZoneMinder/zoneminder/security/advisories/GHSA-h6xp-cvwv-q433> (exploit, patch, third-party-advisory)
- <http://packetstormsecurity.com/files/171498/Zoneminder-Log-Injection-XSS-Cross-Site-Request-Forgery.html> (exploit)
- <https://github.com/ZoneMinder/zoneminder/commit/c0a4c05e84eea0f6ccf7169c014efe5422c9ba0d> (patch, third-party-advisory)
- <https://github.com/ZoneMinder/zoneminder/commit/d289eb48601a76e34feea3c1683955337b1fae59> (patch, third-party-advisory)

## Sources

- CVE List: [CVE-2022-39285](https://www.cve.org/CVERecord?id=CVE-2022-39285), CVE Terms of Use, modified 2025-04-22
- NVD: [CVE-2022-39285](https://nvd.nist.gov/vuln/detail/CVE-2022-39285), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-39285 · Whole record: https://cve.day/CVE-2022-39285.json · Rebuilt by cve.day 2026-11-25T22:58:15.479Z
