{"api_version":"1","generated_at":"2026-07-23T13:47:11+00:00","cve":"CVE-2022-39285","urls":{"html":"https://cve.report/CVE-2022-39285","api":"https://cve.report/api/cve/CVE-2022-39285.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-39285","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-39285"},"summary":{"title":"CVE-2022-39285","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.","state":"PUBLIC","assigner":"security-advisories@github.com","published_at":"2022-10-07 21:15:00","updated_at":"2023-03-27 18:15:00"},"problem_types":["CWE-79"],"metrics":[],"references":[{"url":"https://github.com/ZoneMinder/zoneminder/commit/d289eb48601a76e34feea3c1683955337b1fae59","name":"https://github.com/ZoneMinder/zoneminder/commit/d289eb48601a76e34feea3c1683955337b1fae59","refsource":"MISC","tags":[],"title":"File must be escaped as well to prevent XSS · ZoneMinder/zoneminder@d289eb4 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/ZoneMinder/zoneminder/security/advisories/GHSA-h6xp-cvwv-q433","name":"https://github.com/ZoneMinder/zoneminder/security/advisories/GHSA-h6xp-cvwv-q433","refsource":"CONFIRM","tags":[],"title":"Stored Cross-Site Script Vulnerability In File Parameter · Advisory · ZoneMinder/zoneminder · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"http://packetstormsecurity.com/files/171498/Zoneminder-Log-Injection-XSS-Cross-Site-Request-Forgery.html","name":"http://packetstormsecurity.com/files/171498/Zoneminder-Log-Injection-XSS-Cross-Site-Request-Forgery.html","refsource":"MISC","tags":[],"title":"Zoneminder Log Injection / XSS / Cross Site Request Forgery ≈ Packet Storm","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/ZoneMinder/zoneminder/commit/c0a4c05e84eea0f6ccf7169c014efe5422c9ba0d","name":"https://github.com/ZoneMinder/zoneminder/commit/c0a4c05e84eea0f6ccf7169c014efe5422c9ba0d","refsource":"MISC","tags":[],"title":"Only perform actions on post. Doing them on GET allows doing actions … · ZoneMinder/zoneminder@c0a4c05 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-39285","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-39285","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2022","cve_id":"39285","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"zoneminder","cpe5":"zoneminder","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2022-39285","qid":"183581","title":"Debian Security Update for zoneminder (CVE-2022-39285)"},{"cve":"CVE-2022-39285","qid":"502977","title":"Alpine Linux Security Update for zoneminder"},{"cve":"CVE-2022-39285","qid":"505844","title":"Alpine Linux Security Update for zoneminder"}]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"security-advisories@github.com","ID":"CVE-2022-39285","STATE":"PUBLIC","TITLE":"Stored Cross-Site Scripting Vulnerability In File Parameter in zoneminder"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"zoneminder","version":{"version_data":[{"version_value":"< 1.36.27"},{"version_value":">= 1.37.0, < 1.37.24"}]}}]},"vendor_name":"ZoneMinder"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"impact":{"cvss":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":7.6,"baseSeverity":"HIGH","confidentialityImpact":"LOW","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:H","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')"}]}]},"references":{"reference_data":[{"name":"https://github.com/ZoneMinder/zoneminder/security/advisories/GHSA-h6xp-cvwv-q433","refsource":"CONFIRM","url":"https://github.com/ZoneMinder/zoneminder/security/advisories/GHSA-h6xp-cvwv-q433"},{"name":"https://github.com/ZoneMinder/zoneminder/commit/c0a4c05e84eea0f6ccf7169c014efe5422c9ba0d","refsource":"MISC","url":"https://github.com/ZoneMinder/zoneminder/commit/c0a4c05e84eea0f6ccf7169c014efe5422c9ba0d"},{"name":"https://github.com/ZoneMinder/zoneminder/commit/d289eb48601a76e34feea3c1683955337b1fae59","refsource":"MISC","url":"https://github.com/ZoneMinder/zoneminder/commit/d289eb48601a76e34feea3c1683955337b1fae59"},{"refsource":"MISC","name":"http://packetstormsecurity.com/files/171498/Zoneminder-Log-Injection-XSS-Cross-Site-Request-Forgery.html","url":"http://packetstormsecurity.com/files/171498/Zoneminder-Log-Injection-XSS-Cross-Site-Request-Forgery.html"}]},"source":{"advisory":"GHSA-h6xp-cvwv-q433","discovery":"UNKNOWN"}},"nvd":{"publishedDate":"2022-10-07 21:15:00","lastModifiedDate":"2023-03-27 18:15:00","problem_types":["CWE-79"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"REQUIRED","scope":"CHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"NONE","baseScore":5.4,"baseSeverity":"MEDIUM"},"exploitabilityScore":2.3,"impactScore":2.7}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:zoneminder:zoneminder:*:*:*:*:*:*:*:*","versionEndExcluding":"1.36.27","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:zoneminder:zoneminder:*:*:*:*:*:*:*:*","versionStartExcluding":"1.37.0","versionEndExcluding":"1.37.24","cpe_name":[]}]}]}},"legacy_mitre":{"record":null,"notes":[]}}}