{
    "id": "CVE-2022-39285",
    "published": "2022-10-07 21:15:11",
    "last_modified": "2026-06-17 04:58:04",
    "cvss_score": "7.6",
    "cvss_severity": "HIGH",
    "cvss_version": "3.1",
    "cvss_vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:H",
    "cwe": "CWE-79",
    "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.",
    "epss_score": "0.05088",
    "epss_percentile": "0.92113",
    "kev": 0,
    "kev_due": null,
    "has_exploit": 1,
    "updated_at": "2026-10-06 18:17:30",
    "priority": {
        "rank": 2,
        "label": "Patch early",
        "why": "A public exploit exists."
    },
    "products": [
        {
            "vendor": "zoneminder",
            "product": "zoneminder"
        }
    ],
    "kev_detail": null,
    "exploits": [
        {
            "source": "exploit-db",
            "ref_id": "51071",
            "title": "Zoneminder < v1.37.24 - Log Injection & Stored XSS & CSRF Bypass",
            "date": "2023-03-27",
            "url": "https://www.exploit-db.com/exploits/51071"
        }
    ],
    "refs_list": [
        "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",
        "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"
    ]
}