From 7f98324048f6b5e4943e24879d22041fd43d8a37 Mon Sep 17 00:00:00 2001 From: Jamison Bryant Date: Wed, 27 May 2026 21:53:59 -0400 Subject: [PATCH 1/2] Add security policy --- .github/SECURITY.md | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/SECURITY.md diff --git a/.github/SECURITY.md b/.github/SECURITY.md new file mode 100644 index 0000000..09f9f51 --- /dev/null +++ b/.github/SECURITY.md @@ -0,0 +1,27 @@ +# Security Policy + +## Supported Versions + +We support fixing security issues on the following releases: + +| Version | Supported | Security fixes until +| ------- | ------------------ | -------------------- +| 2.x | :white_check_mark: | Currently supported +| 1.x | :white_check_mark: | 36 Months after the release of CakePHP 5.0 (09 Sep 2026) + +## Reporting a Vulnerability + +If you've found a security issue in the CakePHP TwigView plugin, please use the following procedure +instead of the normal bug reporting system. Instead of using the bug tracker, +or one of the support forums please send an email to security [at] cakephp.org. Emails +sent to this address go to the CakePHP core team on a private mailing list. + +For each report, we try to first confirm the vulnerability. Once confirmed, +the CakePHP team will take the following actions: + +* Acknowledge to the reporter that we've received the issue, and are + working on a fix. We ask that the reporter keep the issue confidential until we announce it. +* Get a fix/patch prepared. +* Prepare a post describing the vulnerability, and the possible exploits. +* Release new versions of all affected versions. +* Prominently feature the problem in the release announcement From 43520c97f9387cb116859c832a7089046992b74b Mon Sep 17 00:00:00 2001 From: Jamison Bryant Date: Thu, 28 May 2026 09:24:49 -0400 Subject: [PATCH 2/2] Reference wiki version map instead of concrete table Avoids duplicating version support info that is already maintained in the wiki, reducing maintenance burden. --- .github/SECURITY.md | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/SECURITY.md b/.github/SECURITY.md index 09f9f51..49d52d4 100644 --- a/.github/SECURITY.md +++ b/.github/SECURITY.md @@ -2,12 +2,9 @@ ## Supported Versions -We support fixing security issues on the following releases: - -| Version | Supported | Security fixes until -| ------- | ------------------ | -------------------- -| 2.x | :white_check_mark: | Currently supported -| 1.x | :white_check_mark: | 36 Months after the release of CakePHP 5.0 (09 Sep 2026) +Security fixes are applied to all active versions listed in the +[version map](https://github.com/cakephp/twig-view/wiki#cakephp-version-map). +Versions marked as EOL no longer receive fixes. ## Reporting a Vulnerability