{"id":"CVE-2022-39285","published":"2022-10-07T00:00:00Z","modified":"2025-04-22T17:19:26Z","title":"Stored Cross-Site Scripting Vulnerability In File Parameter in zoneminder","vendor":"ZoneMinder","product":"zoneminder","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.6,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0375,"percentile":0.90644,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/ZoneMinder/zoneminder/security/advisories/GHSA-h6xp-cvwv-q433","tags":[]},{"url":"https://github.com/ZoneMinder/zoneminder/commit/c0a4c05e84eea0f6ccf7169c014efe5422c9ba0d","tags":[]},{"url":"https://github.com/ZoneMinder/zoneminder/commit/d289eb48601a76e34feea3c1683955337b1fae59","tags":[]},{"url":"http://packetstormsecurity.com/files/171498/Zoneminder-Log-Injection-XSS-Cross-Site-Request-Forgery.html","tags":[]}],"priority":{"score":28.4,"factors":[{"name":"EPSS percentile","points":18.13},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":5.32}]},"exploitSources":{"exploitdb":{"count":1,"earliest":"2023-03-27"},"first":{"date":"2023-03-27","source":"Exploit-DB","url":"https://www.exploit-db.com/exploits/51071"},"provenance":"source"},"vendorSlug":"zoneminder","affectedVersions":[{"vendor":"ZoneMinder","product":"zoneminder","versions":["< 1.36.27",">= 1.37.0, < 1.37.24"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2025-04-22T15:43:49.076347Z","from":"CISA ADP","provenance":"source"},"summary":{"text":"A stored cross-site scripting flaw in the file parameter of the ZoneMinder closed-circuit television application lets crafted input escape the table markup and persist in logs viewed on the \"view=log\" page. An attacker with low-privilege access who can get a legitimate user to view the affected log over the network can have script run in that user's browser with the victim's permissions, enabling data loss or account takeover.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-21T04:03:52Z"},"euvd":{"id":"EUVD-2022-41786","exploited":false,"provenance":"source"},"exploits":[{"id":51071,"url":"https://www.exploit-db.com/exploits/51071","title":"ZoneMinder < 1.37.24 - Log Injection / Stored Cross-Site Scripting (XSS) / Cross-Site Request Forgery (CSRF) Bypass","date":"2023-03-27","verified":true,"provenance":"source"}],"exploitRefs":["http://packetstormsecurity.com/files/171498/Zoneminder-Log-Injection-XSS-Cross-Site-Request-Forgery.html"]}