Security releases – Kirby 3.5.8.1, 3.6.6.1 and 3.7.4

Today we release three security updates that fix cross-site scripting (XSS) vulnerabilities in the tags and multiselect fields:

  • Kirby 3.5.8.1 (high severity for Kirby 3.5.7-3.5.8, medium severity for Kirby 3.5.0-3.5.6)
  • Kirby 3.6.6.1 (high severity for Kirby 3.6.0-3.6.6)
  • Kirby 3.7.4 (high severity for Kirby 3.7.0-3.7.3)

You can find out more about the vulnerabilities and fixes in the security advisories that are linked from the respective security updates.

Kirby 3.7.4 also comes with many useful enhancements and fixes and even three smaller features. It is the last scheduled 3.7.x release. We are now actively working towards Kirby 3.8.

1 Like

Hello,

after I installed the latest kirby version today, I get the following error:

Not Extended

A mandatory extension policy in the request is not accepted by the server for this resource.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request

I do the installation like this:

#!/bin/sh
sudo rm -rfv kirby
git clone https://github.com/getkirby/kirby/
cd "$(dirname "$0")/kirby"
rm -rf .git exit;

what am I doing wrong ?

This seems to be something server related, a quick google search might help. Never seen this, TBH.

I’m now using version 3.6.6 again, the error message doesn’t appear there, the new version and the server probably don’t get along.

Were you trying 3.6.6.1 or 3.7.4? The security update to 3.6.6.1 does not come with any breaking changes.

I used this url: git clone https://github.com/getkirby/kirby/

Please use this to get Kirby 3.6.6.1:

cd kirby
git checkout 3.6.6.1

i am having difficulty checking out the patches as the tags do not seem to exist, see:

git checkout tags/3.5.8 
HEAD is now at 76f2781 Upgrade to 3.5.8
 
git checkout tags/3.5.8.1
error: pathspec 'tags/3.5.8.1' did not match any file(s) known to git

or:

git checkout tags/3.6.6
Previous HEAD position was 76f2781 Upgrade to 3.5.8
HEAD is now at c926bdc Upgrade to 3.6.6

git checkout tags/3.6.6.1
error: pathspec 'tags/3.6.6.1' did not match any file(s) known to git

A previous β€˜git fetch --all -tags’ does not bring any improvement. Also, GitHub informs that the tag 3.5.8.1 does not belong to any repo.

The tag does exist in the repo, see GitHub - getkirby/kirby at 3.5.8.1. The warning that the tag does not belong to a branch is expected. 3.5.8.1 and 3.6.6.1 are patch releases that were not merged into main because this branch is for 3.7.x.

Have you tried the fetch command with double-dashes (--tags instead of -tags)?

@lukasbestle

Have you tried the fetch command with double-dashes (--tags instead of -tags )?

yes, but it makes no difference. The tag is not tangible for β€œgit checkout”.

git fetch --all --tags
Fetching origin

git tag -l
3.5.5
3.5.6
3.5.7
3.5.7.1
3.5.8
3.6.0
3.6.1
3.6.1.1
3.6.2
3.6.3
3.6.3.1
3.6.4
3.6.5
3.6.6
3.7.0
3.7.0.1
3.7.0.2
3.7.1
3.7.2
3.7.2.1
3.7.3
3.7.4

The corresponding commits are also not available.

So how can i get the patch via git checkout? Anybody an idea?

What repo have you checked out? The list of tags is not complete.

git clone GitHub - getkirby/plainkit: The most minimal setup of Kirby – perfect for when you already know your way around

Those tags refer to the kirby repo, not the Plain- or Starterkits.

7.4.0 is also available for the Starter- and Plainkits, but for the old versions, there are no separate tags for the kits.