{"id":"CVE-2022-39285","aliases":["CVE-2022-39285"],"related":[],"kind":"vulnerability","state":"published","title":"Stored Cross-Site Scripting Vulnerability In File Parameter in zoneminder","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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"ZoneMinder es una aplicación de software de televisión en circuito cerrado gratuita y de código abierto El parámetro de archivo es susceptible a una vulnerabilidad de tipo cross site scripting (XSS) al retroceder los corchetes \"tr\" \"td\" actuales. Esto permite entonces a un usuario malicioso proporcionar código que será ejecutado cuando un usuario visualice el registro específico en la página \"view=log\". Esta vulnerabilidad permite a un atacante almacenar código dentro de los registros que será ejecutado cuando sea cargado por un usuario legítimo. Estas acciones serán llevadas a cabo con el permiso de la víctima. Esto podría conllevar a una pérdida de datos y/o una explotación posterior, incluyendo la toma de control de la cuenta. Este problema ha sido abordado en versiones \"1.36.27\" y \"1.37.24\". Es recomendado a usuarios actualizar. Los usuarios que no puedan actualizarse deberán deshabilitar el registro de la base de datos","source":"nvd"}],"published":"2022-10-07T00:00:00.000Z","modified":"2026-06-17T04:58:04.280Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:H","score":7.6,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:H","score":7.6,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"version":"< 1.36.27","status":"affected"},{"version":">= 1.37.0, < 1.37.24","status":"affected"}],"vendor":"ZoneMinder","product":"zoneminder","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"1.36.27"},{"status":"affected","introduced":">1.37.0","fixed":"1.37.24"}],"vendor":"zoneminder","product":"zoneminder","cpe":"cpe:2.3:a:zoneminder:zoneminder:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/ZoneMinder/zoneminder/security/advisories/GHSA-h6xp-cvwv-q433","tags":["exploit","patch","third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/ZoneMinder/zoneminder/commit/c0a4c05e84eea0f6ccf7169c014efe5422c9ba0d","tags":["patch","third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/ZoneMinder/zoneminder/commit/d289eb48601a76e34feea3c1683955337b1fae59","tags":["patch","third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"http://packetstormsecurity.com/files/171498/Zoneminder-Log-Injection-XSS-Cross-Site-Request-Forgery.html","tags":["x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2025-04-22T15:43:49.076Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-39285","url":"https://www.cve.org/CVERecord?id=CVE-2022-39285","licence":"CVE Terms of Use","modified":"2025-04-22T17:19:26.192Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-39285","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-39285","licence":"Public domain","modified":"2026-06-17T04:58:04.280Z"}],"updatedAt":"2026-11-25T22:58:15.479Z","epss":{"score":0.05232,"percentile":0.92697,"date":"2026-12-01T12:00:22.000Z"}}