Skip to content

Fix/rebuild from 5.3.5#464

Merged
skerbis merged 5 commits intomainfrom
fix/rebuild-from-5.3.5
Feb 17, 2026
Merged

Fix/rebuild from 5.3.5#464
skerbis merged 5 commits intomainfrom
fix/rebuild-from-5.3.5

Conversation

@skerbis
Copy link
Member

@skerbis skerbis commented Feb 17, 2026

No description provided.

skerbis and others added 4 commits February 17, 2026 13:32
* security fixes and theme preview

* securit fix replace

* Update CHANGELOG.md

* 5.3.3

* namespace guide entfernt

* fixed reload

* Bump version to 5.3.4 and fix various issues

Updated version to 5.3.4 and fixed multiple issues including JSON parsing errors, framework template loading, and security vulnerabilities.

* 5.3.6

* alle laden inline via session erlauben

* Fix iOS Safari touch events (thx @alexwenz) and update changelog

* Address review comments: add missing translations and secure host usage
…_cssjs.php (#460)

* Initial plan

* fix(security): Add missing nonce attributes to all script tags in box_cssjs.php

Co-authored-by: skerbis <791247+skerbis@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: skerbis <791247+skerbis@users.noreply.github.com>
Copilot AI review requested due to automatic review settings February 17, 2026 15:42
@skerbis skerbis merged commit cad1715 into main Feb 17, 2026
4 checks passed
@skerbis skerbis deleted the fix/rebuild-from-5.3.5 branch February 17, 2026 15:47
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR focuses on security improvements and framework mode compatibility enhancements for the consent manager. The changes primarily add CSP nonce attributes to inline scripts and implement validation to prevent theme usage when framework mode is active.

Changes:

  • Added CSP nonce attributes to inline script tags for improved XSS protection
  • Implemented framework mode validation on the theme page to prevent incompatible configurations
  • Made cookie name and lifetime configurable instead of hardcoded values

Reviewed changes

Copilot reviewed 12 out of 12 changed files in this pull request and generated no comments.

Show a summary per file
File Description
pages/theme.php Added framework mode validation check with error message and early return
pages/help.php Added CSP nonce attribute to inline script tag
package.yml Updated version from 5.4.2 to 5.5.0-dev
lib/InlineConsent.php Added CSP nonce attributes to generated script tags
lang/sv_se.lang Added Swedish translation for framework mode active error message
lang/en_gb.lang Added English translation for framework mode active error message
lang/de_de.lang Added German translation for framework mode active error message
fragments/ConsentManager/inline_placeholder.php Added CSP nonce attribute to script tag
fragments/ConsentManager/cookiedb.php Changed from hardcoded 'consentmanager' to configurable cookie name
fragments/ConsentManager/box_cssjs.php Changed from hardcoded values to configuration-based cookie name and lifetime
boot.php Added CSP nonce attributes to debug script tags
CHANGELOG.md Updated changelog to reflect version 5.5.0 development changes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants