Headline
CVE-2023-1362: Set X-Frame-Option · unilogies/bumsys@8c5b27d
Improper Restriction of Rendered UI Layers or Frames in GitHub repository unilogies/bumsys prior to v2.0.2.
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 2
Code
Issues
Pull requests
Actions
Projects
Security
Insights
Permalink
Showing 1 changed file with 3 additions and 0 deletions.
@@ -7,6 +7,9 @@
// Set the php coockie id only visible over http
ini_set('session.cookie_httponly’, true);
// Prevent Loading iframe to other website
header(“X-Frame-Options: DENY”);
// Check if the PHP version is at leat 7.0
if( version_compare(PHP_VERSION, ‘7.0.0’) <= 0 ) {
header(‘HTTP/1.0 403 Forbidden’);
0 comments on commit 8c5b27d
Please sign in to comment.