Headline
CVE-2023-25825: Correct the syntax of the CSP · ZoneMinder/zoneminder@57bf25d
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.
Skip to content
Actions
Automate any workflow
Packages
Host and manage packages
Security
Find and fix vulnerabilities
Codespaces
Instant dev environments
Copilot
Write better code with AI
Code review
Manage code changes
Issues
Plan and track work
Discussions
Collaborate outside of code
* Explore
* All features
* Documentation
* GitHub Skills
* Blog
For
Enterprise
Teams
Startups
Education
By Solution
CI/CD & Automation
DevOps
DevSecOps
Case Studies
Customer Stories
Resources
GitHub Sponsors
Fund open source developers
* The ReadME Project
GitHub community articles
* Repositories
* Topics
* Trending
* Collections
Pricing
Notifications
Fork 1.1k
Code
Issues 112
Pull requests 9
Actions
Projects
Wiki
Security
Insights
Permalink
Browse files
Correct the syntax of the CSP
- Loading branch information
Isaac Connor committed
Feb 23, 2023
1 parent aeb8292 commit 57bf25d
Showing 1 changed file with 1 addition and 1 deletion.
@@ -55,7 +55,7 @@ function CSPHeaders($view, $nonce) {
// fall through
default:
// Enforce script-src on pages where inline scripts and event handlers have been fixed.
header("Content-Security-Policy: script-src ‘self’ object-src ‘self’ ‘nonce-$nonce’ $additionalScriptSrc".
header("Content-Security-Policy: object-src 'self’; script-src ‘self’ ‘nonce-$nonce’ $additionalScriptSrc".
(ZM_CSP_REPORT_URI ? '; report-uri '.ZM_CSP_REPORT_URI : ‘’ )
);
break;
0 comments on commit 57bf25d
Please sign in to comment.