{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-25825 exists.","fix":"Upgrade to a fixed version.","what":"CVE-2023-25825 is a high-severity cross-site scripting vulnerability in Zoneminder Zoneminder, published on 25 Feb 2023. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-25825 and fix it if it is affected.\n\nWhat it is: CVE-2023-25825 is a high-severity cross-site scripting vulnerability in Zoneminder Zoneminder, published on 25 Feb 2023. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-25825 exists.\n\nAffected product: Zoneminder Zoneminder. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2023-25825/ (Markdown: https://insights.sbomify.com/CVE-2023-25825/index.md)","id":"CVE-2023-25825","markdown":"https://insights.sbomify.com/CVE-2023-25825/index.md","name":"CVE-2023-25825","record":{"aliases":["DEBIAN-CVE-2023-25825","GHSA-68vf-g4qm-jr6v","UBUNTU-CVE-2023-25825"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution","account_takeover"],"network_reachable":"yes","non_default_config":false,"product_category":"CCTV software","requires_auth":"low_privilege","summary":"Attackers can inject malicious scripts into log entries via referrer fields, leading to XSS when viewed in the ZoneMinder web interface.","user_interaction":"not_required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"zoneminder","vendor":"zoneminder"}],"cvss":{"score":7.7,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"ZoneMinder is a free, open source Closed-circuit television software application for Linux which supports IP, USB and Analog cameras. Versions prior to 1.36.33 are vulnerable to Cross-site Scripting. Log entries can be injected into the database logs, containing a malicious referrer field.  This is unescaped when viewing the logs in the web ui. This issue is patched in version 1.36.33.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"ZoneMinder contains Cross-site Scripting via log viewing","id":"CVE-2023-25825","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"zoneminder:zoneminder","products":["zoneminder:zoneminder"],"type":"xss","year":"2023"},"n_packages":0,"n_references":4,"next":{"headline":"Remote Code Execution in OpenTSDB","id":"CVE-2023-25826"},"packages":[],"prev":{"headline":"mod_gnutls contains Infinite Loop on request read timeout","id":"CVE-2023-25824"},"products":["zoneminder"],"published":"2023-02-25","related":[{"cvss_score":10,"headline":"Command injection in n/a","id":"CVE-2008-3882","kev_date_added":null,"published":"2008-09-02"},{"cvss_score":9.8,"headline":"Command injection in n/a","id":"CVE-2025-65791","kev_date_added":null,"published":"2026-02-18"},{"cvss_score":9.8,"headline":"ZoneMinder Time-based SQL Injection","id":"CVE-2024-43360","kev_date_added":null,"published":"2024-08-12"},{"cvss_score":9.8,"headline":"Path traversal in n/a","id":"CVE-2022-29806","kev_date_added":null,"published":"2022-04-26"},{"cvss_score":9.8,"headline":"SQL injection in n/a","id":"CVE-2019-8423","kev_date_added":null,"published":"2019-02-18"},{"cvss_score":9.8,"headline":"SQL injection in n/a","id":"CVE-2019-8424","kev_date_added":null,"published":"2019-02-18"},{"cvss_score":9.8,"headline":"Command injection in n/a","id":"CVE-2019-8427","kev_date_added":null,"published":"2019-02-18"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-03-10","vendors":["ZoneMinder"]},"summary":"Attackers can inject malicious scripts into log entries via referrer fields, leading to XSS when viewed in the ZoneMinder web interface.","url":"https://insights.sbomify.com/CVE-2023-25825/"}